blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c37e25f6040ff163f54141a99a6b3ea14ff50427 | 384de1d56a2b831e905712680e8a9ed70411051d | /binom.R | 99cb5d961f9676c68bafbc642f030594f833ba85 | [] | no_license | grenaud/GenStat | facb409b8ea85e26185c8fc74b011107c7900f90 | 69d1a2c9f2f4914fa147153168122af76ec5a075 | refs/heads/master | 2016-09-06T11:16:41.145242 | 2014-05-15T20:40:31 | 2014-05-15T20:40:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 211 | r | binom.R | #!/usr/bin/env Rscript
library(boot)
args=(commandArgs(TRUE))
success<-strtoi(args[1]);
total<-(strtoi(args[1])+strtoi(args[2]));
b<-binom.test(success,total);
cat(b$conf[1],"\n");
cat(b$conf[2],"\n");
|
b19b2ad8b7bddca7ac5f62620dc652ae15935bcf | 5f9998837e6d5811fb1679189dee7832eb1fc2ca | /man/make_filename.Rd | ae1f3389045cb44b7540acda6ace78e1479df3ce | [] | no_license | TRSperzel/Coursera-R-Package | 47c79b6218edbe6416771022a30dc8f4d3e60c29 | d950a45393e8ba812b5d08a1c0cabdc413a300d2 | refs/heads/master | 2021-05-04T12:59:29.864703 | 2018-02-07T14:24:44 | 2018-02-07T14:24:44 | 120,305,408 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,022 | rd | make_filename.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_data.R
\name{make_filename}
\alias{make_filename}
\title{Make FARS Filename.}
\usage{
make_filename(year)
}
\arguments{
\item{year}{An integer, or a string or numeric that can be coerced to a string,
of the year of interest.}
}
\value{
t... |
561688f0bfae6c21d2775fdec2d0da1100796cac | 2d5a117e58cd5c1c8e7dddb19aaf8fa1a73564fd | /R/tps.R | 954ee0fe38f8152b011813fa56c6676d6d92e9ca | [] | no_license | cran/funfits | 1a04ea02b6c072bcab78850e5509d9446066ea49 | a9d82048b8c59ae55a0bdac71e0fd41113f07518 | refs/heads/master | 2020-05-19T23:34:36.834062 | 1977-08-08T00:00:00 | 1977-08-08T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,659 | r | tps.R | "tps"<-
function(x, y, lambda = NA, df = NA, cost = 1, knots, weights = rep(1, length(y
)), m, power, scale.type = "unit.sd", x.center, x.scale,
return.matrices = T, nstep.cv = 80, method = "GCV", rmse = NA,
link.matrix = NA, verbose = F, subset = NULL, tol = 0.0001,
print.warning = T, yname = NULL)
{
out <- li... |
9373e4d49fa3c22aa2a9c5b61d21a98cdfcc4c50 | 96b8bb4a1daa0ce00e4fdc8d0609d7df5f99f365 | /03_Components/TableOfEachPrefectures/TableOfEachPrefectures.ui.R | b3ba3fbe96e7277240a44faa71b2fc3d46e932b8 | [
"MIT"
] | permissive | swsoyee/2019-ncov-japan | d7b8afab33c3a2869e1385e56239bb57efc0314d | c66a17ce4a40795f225cf02f0437906027a13e3e | refs/heads/master | 2023-08-26T03:11:14.981392 | 2022-12-17T06:29:42 | 2022-12-17T06:29:42 | 237,152,814 | 433 | 104 | MIT | 2022-12-17T06:29:42 | 2020-01-30T06:26:57 | R | UTF-8 | R | false | false | 489 | r | TableOfEachPrefectures.ui.R | fluidRow(
box(
title = tagList(
icon("table"),
i18n$t("各都道府県の状況")
),
width = 12,
sidebar = boxSidebar(
id = "tableOfEachPrefecturesBoxSidebar",
width = 25,
materialSwitch(
inputId = "tableGrouping",
label = tagList(icon("object-group"), i18n$t("グルーピング表示"... |
a1330cda55e178dd915b0d312a9aa1b5102ae3bf | c76871b52892f19035cc793514e0efc16e3d20f2 | /basics/Help_Training.R | 093108b10b105346ce4d2156f18274e05677aa94 | [] | no_license | ptorres001/r_language | c8db51af9380fb5c8a70044508132ea152e7ab94 | d95e0cf04dfef21a488b81bfdc34c65ea6afcf27 | refs/heads/main | 2023-02-22T17:05:24.971203 | 2021-01-26T16:40:01 | 2021-01-26T16:40:01 | 322,654,805 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 806 | r | Help_Training.R | # Getting Help in R
# you can documentation by using function help
help('vector')
??vector
help.search('vector')
# Basics Training
# 1. What is 2 to the power of 5?
2**5 # = 32
# 2. Create a vector called stock.prices with 23,27,23,21,34
stock.prices = c(23,27,23,21,34)
# 3. Assign names to the stock prices
day... |
b70e7db8f5f8eaf2081abac9a0ed71c6cf32b2ff | 7e2195da126a5d1dac46025c3e912b546298241c | /G41_HW1/hw1.R | 0c388f5b316b7b12f75a8afece81e0b583ebfda5 | [] | no_license | RJAIN-27/ALDA_CSC522_HW1 | 65f29974bbc0b2fb5a3d0efeb13c34db99c299c4 | 28743d596783ecb2d5aa54f82e95a657535cf09f | refs/heads/master | 2022-06-25T09:02:44.665801 | 2020-05-07T05:29:45 | 2020-05-07T05:29:45 | 261,954,596 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,109 | r | hw1.R | ###########
# HW1
# Mention your team details here
# Srujana Rachakonda (srachak)
# Rajshree Jain (rjain27)
#
############
# You may use the following librarie(s):
require(plyr)
# If you get an error when running these lines,
# make sure to install the respective libraries
# read data matrix
read_data <- function(p... |
119b41c76575e794ed6423842af4caf8e2fdf5cd | 6330d1c33fb6688e3f74b7ea5aa0c377bd852090 | /plot2.R | 2103562d49966c7bec289c012a0e0ee5f832c42a | [] | no_license | d4ndo/ExData_Plotting1 | 8292ffe536938161ed67bc2409e7fcffa96a022c | 14132783eff9cfd7888804e83adf8a1151e361da | refs/heads/master | 2021-01-15T13:30:14.338543 | 2014-12-07T21:07:45 | 2014-12-07T21:07:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,525 | r | plot2.R | # Usage:
#
# To download the dataset to your working directory call the function:
# getDataSet()
#
# plot2("household_power_consumption.txt")
plot2 <- function(file) {
stopifnot(is.character(file))
if(!file.exists(file)) {
stop("File not found. PLease call the function getDataSet() to download
the ... |
69da6c620279f06b695887b6fd69e08e31064c4b | 8d107a4dac3240917aab93f589b8f2833db63c10 | /hclust.R | 3fa2a8385646a78e5db2577a57ea35b33e1f2790 | [] | no_license | hnthirima/hierarchical_clustering | cbd32ba34a373b784d09b06b99222fae38f91dfb | a6d7bf35698dddc17e05a37f8f40cab0f5eb675f | refs/heads/main | 2023-08-21T22:26:26.402406 | 2021-05-14T04:18:47 | 2021-05-14T04:18:47 | 367,245,907 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,078 | r | hclust.R | library(dplyr)
library(ggplot2)
#### RNAseq clustering
Hct_RNAseq_WTDelR_pc <- read.csv("./Hct116_RNAseq_WTDelR_pcgenes.csv")
Hct_RNAseq_WTDelR_pc_sig <- Hct_RNAseq_WTDelR_pc %>% filter(Del_vs_WT.is.DE == 1 | R_vs_WT.is.DE == 1 | Del_vs_WT.is.DE == -1 | R_vs_WT.is.DE == -1)
Hct_RNAseq_WTDelR_pcsigCPM <- Hct_RNAseq_WT... |
e547d8817ec7c7e42bccdd3b265f9f33dc7ded61 | 27e2240acae4c110b4a853f67eaabfb317d8ec93 | /Projekt1/KomKruKur/get_from_git.R | 0d0f35f6a2e18dafa1c3d7cee44cb6c23ba27864 | [] | no_license | pbiecek/AdvancedR2018 | 97dbf5fc71d650b8b3f3097f5d82ccb01adc3043 | 26bfd79c0c9fd8fd95185a9afe210e9f7a9d4627 | refs/heads/master | 2018-09-19T10:54:58.171788 | 2018-06-13T10:44:23 | 2018-06-13T10:44:23 | 125,171,416 | 9 | 28 | null | 2018-06-13T10:44:24 | 2018-03-14T07:17:46 | HTML | UTF-8 | R | false | false | 2,237 | r | get_from_git.R | options(stringsAsFactors = FALSE)
library(rvest)
library(httr)
library(jsonlite)
library(dplyr)
library(stringr)
save_from_GIT <- function(folder,downloaded_repos_limit = Inf,git_login,git_password) {
downloaded_repos <- 0
# Tworze liste uzytkownikow
users <- c()
for (i in 1:2){ # 200 uzytkownik... |
cf76bcda96d68c4b1fb3503b5bfc9bf98c544a1e | 6abe25da7b2fb3975d4e42560677d7ab4d0c0d5f | /FactFinding_DemoFunctions/OptFitting.R | 55b5a3a9ec220ab8dbb3898964c831bb791f60e1 | [] | no_license | hankdikeman/TESummerProj2020 | c4eccb0719762ee61e49dd620c3ccf6af95c9f15 | 36fe9a3f36e52a88c4f7752961f66a648a06c1ba | refs/heads/master | 2022-12-04T02:45:18.422787 | 2020-08-25T01:11:33 | 2020-08-25T01:11:33 | 275,434,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,024 | r | OptFitting.R | # this is a simple driver file used to develop predicted models for yield
source("./RK4.R")
source("./dC.R")
#kvals dataframe
kvals <- data.frame(matrix(c(5.95,2.98,9.399,7.311,15.18,0.698,0.0133,0.3456,0.7474,0.4654), nrow = 1))/60
colnames(kvals) <- c("k1","k1r","k2","k2r","k3","k3r","k4","k5","k6","k7")
# initial ... |
bcc28d88daff713f476e814b2d7d30d48e1e0bc4 | df7bd78f5f6443d6b8357d4ff570839c58fb1985 | /R/get_filereport.R | b27a111ac5102b89a50ad3260fd1b7cf53f9d782 | [] | no_license | uashogeschoolutrecht/structural_colours | 1dcda70f4071fd2ea90e8996c79689a8dd3ed2dd | 904037de54933abdaa47a18833f5d0c3021fa9a6 | refs/heads/master | 2022-10-21T19:54:11.554503 | 2020-06-15T09:42:47 | 2020-06-15T09:42:47 | 206,521,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,403 | r | get_filereport.R | #' This function downloads the filereport of a study and saves it as an rda file in extdata. The intermediate file is deleted.
#'
#' @param url Url of the filereport. The url of a filereport of a study can be gotten from the corresponding ebi metagenomic website by saving the link address of the 'TEXT' button (e.g. see... |
bb6c54284f772792307bad92af99cfbddc9b189c | d69e83586753456a6bb387a0122479ceb2bdc6e0 | /R/odds.R | 65bda9c6ed8f355872fb4e3e76730c2016efcd2a | [] | no_license | cran/swfscMisc | 6f1e85dba988db1e235f3e2f58ef0b831567736d | 3644ab0ba65c3e24f11627865d00910e4d97c82f | refs/heads/master | 2022-05-13T09:41:35.823940 | 2022-04-21T12:30:02 | 2022-04-21T12:30:02 | 22,867,576 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 944 | r | odds.R | #' @name odds
#' @title Odds Conversion
#' @description \tabular{ll}{
#' \code{odds} \tab converts probability to odds \cr
#' \code{logOdds} \tab converts odds to log-odds \cr
#' \code{invOdds} \tab converts odds to probability \cr
#' \code{invLogOdds} \tab converts log-odds to odds \cr
#' }
#'
#' @param x a n... |
f521a2417c4275751d5973cd9232314adbb9a83d | 7a7375245bc738fae50df9e8a950ee28e0e6ec00 | /man/STE__Year_Sexunemployment.Rd | 7e7d17bba275f8ca5c59f6b0a482b49fc4950c16 | [] | no_license | HughParsonage/Census2016.DataPack.TimeSeries | 63e6d35c15c20b881d5b337da2f756a86a0153b5 | 171d9911e405b914987a1ebe4ed5bd5e5422481f | refs/heads/master | 2021-09-02T11:42:27.015587 | 2018-01-02T09:01:39 | 2018-01-02T09:02:17 | 112,477,214 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 355 | rd | STE__Year_Sexunemployment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/STE__Year_Sexunemployment.R
\docType{data}
\name{STE__Year_Sexunemployment}
\alias{STE__Year_Sexunemployment}
\title{Sex by STE, Year}
\format{54 observations and 4 variables.}
\usage{
STE__Year_Sexunemployment
}
\description{
UnemploymentSex... |
074f96bd44b6a061931f8b13f8b5e98c00343871 | d48a6be6d855db72443aa767d680e13596e2a180 | /RMark/man/var.components.reml.Rd | 7520e9d25db454d0b81f158e1ca523a400d1b4f9 | [] | no_license | jlaake/RMark | f77e79d6051f1abfd57832fd60f7b63540a42ab9 | 7505aefe594a24e8c5f2a9b0b8ac11ffbdb8a62d | refs/heads/master | 2023-06-26T21:29:27.942346 | 2023-06-25T16:35:43 | 2023-06-25T16:35:43 | 2,009,580 | 17 | 15 | null | 2019-01-10T17:17:11 | 2011-07-06T23:44:02 | R | UTF-8 | R | false | true | 3,372 | rd | var.components.reml.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/var.components.reml.r
\name{var.components.reml}
\alias{var.components.reml}
\title{Variance components estimation using REML or maximum likelihood}
\usage{
var.components.reml(
theta,
design,
vcv = NULL,
rdesign = NULL,
initial = N... |
ec3cb0fb9c3f6ddcf27848367682d420a91ccee4 | 55b247a9009dee1924c6d9095b84bd9a78845644 | /R/FamiliasPosterior.R | c97a948d5ee82e7d50dadcc4469a813414d35fe5 | [] | no_license | thoree/Familias | b4f508e006426b72df31077f931711fd65b792b9 | b92d41113a8af5740e1df7dd3ce75343cc286fe1 | refs/heads/master | 2022-12-21T11:42:26.796495 | 2022-12-15T12:17:34 | 2022-12-15T12:17:34 | 150,735,203 | 7 | 1 | null | 2022-12-15T12:17:36 | 2018-09-28T12:10:46 | C++ | UTF-8 | R | false | false | 12,269 | r | FamiliasPosterior.R | FamiliasPosterior <- function (pedigrees, loci, datamatrix, prior, ref = 1, kinship = 0,
simplifyMutations = FALSE)
{
if (missing(pedigrees) || length(pedigrees) < 1)
stop("The pedigrees parameter must be an object of type 'pedigree' or 'FamiliasPedigree', or a list of such.")
if (class(pedigrees... |
09088c71c72a3bf23d178adaa2d8043f39ae3729 | 7e0d63da5e0c6006f4c7afb396e71c568b5b9421 | /man/getColors.Rd | 34698e5ba75a84eb4899b8b794ca8c17105a8c3d | [] | no_license | vsoch/genetime | 2678527a9afa81a1fb185db2df83453c2db7f37f | d9cbdaa193aa034afef4978009335a5fd5b4c07d | refs/heads/master | 2021-01-01T15:35:38.275276 | 2014-12-18T18:36:18 | 2014-12-18T18:36:18 | 28,060,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 351 | rd | getColors.Rd | % Generated by roxygen2 (4.1.0.9000): do not edit by hand
% Please edit documentation in R/getColors.R
\name{getColors}
\alias{getColors}
\title{getColors}
\usage{
getColors()
}
\description{
Returns 16 colors for brain regions in developmental enrichment package
}
\examples{
colors = getColors()
}
\keyword{brain}
\key... |
51bee291ee2757b6eea6fd5b168ec8a64c766780 | 3c258c7fe3244f4a41dea7d264098ac614eef19a | /man/renderVDiagram.Rd | 18648066833444408e50ee792d6957abe79407c0 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | USGS-R/repgen | 379be8577f3effbe7067e2f3dc5b5481ca69999e | 219615189fb054e3b421b6ffba4fdd9777494cfc | refs/heads/main | 2023-04-19T05:51:15.008674 | 2021-04-06T20:29:38 | 2021-04-06T20:29:38 | 31,678,130 | 10 | 25 | CC0-1.0 | 2023-04-07T23:10:19 | 2015-03-04T20:24:02 | R | UTF-8 | R | false | true | 342 | rd | renderVDiagram.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vdiagram-render.R
\name{renderVDiagram}
\alias{renderVDiagram}
\title{Called from V diagram R Markdown files.}
\usage{
renderVDiagram(reportObject)
}
\arguments{
\item{reportObject}{V diagram report data.}
}
\description{
Called from V diagra... |
9e497dcf56d2db9b3b701c46ba156da88fb54564 | 983dabf418aac94d6b5fe2fb311c8c5c0c5b01de | /hw5/hw5_2.R | 889f8ee0cbf5554cf48462759abf0cba0221d879 | [] | no_license | thomas861205/Linear_models | 4c050cc2260d3dd9af128799a4991e2530db498c | c09197e2897c7e1960a83217904909c08fceccfd | refs/heads/master | 2020-07-30T15:04:35.800530 | 2019-12-25T04:42:56 | 2019-12-25T04:42:56 | 210,271,157 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,223 | r | hw5_2.R | gala <- read.table("C:/Users/Thomas/Downloads/Linear_models/hw5/E6.10.txt", header=T)
# The variable x gives travel times which were computed from bus timetables augmented
# by walk times from zone centroids to bus-stops (assuming a walking speed of 3 m.p.h.)
# and expected waiting times for the bus (which were set ... |
3b251d905db16358a4bb29104f7085acdf28b5b0 | 5f93c27bf3ad41c2adbc4f2e6e56b3ff3b31cf89 | /mmm_fit_code/mmm_fit_functions/tree_update_OLD.R | 8c3430808a07dbaa2b1946c72415e3ce1eeed3af | [] | no_license | jbischof/HPC_model | fd6726abf3130075e1354d2139212c00b04ee4b0 | 5dd2c6ae7e36e31a4a71751e38b9fe4ef88c0fcf | refs/heads/master | 2021-01-01T19:07:31.094310 | 2014-05-06T04:18:26 | 2014-05-06T04:18:41 | 2,614,499 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 16,790 | r | tree_update_OLD.R | # Functions to update mu vector in mixed membership model
# and other tree parameters
#require(Matrix,quietly=TRUE)
# Function to get params and data in useful format (anything that
# doesn't involve tree parameters and should not be recalculated)
get.data.for.tree <- function(word.id,current.param.list,
... |
e5c677675f8d095ac6c54093392f4c4282de44df | 007a5459cc41c25d6450fdb2d6ac331587b6b439 | /man/APLA_Map.Rd | 2405c3ef1db7400ef545548c28676fb3ee9c192e | [] | no_license | Edouard-Legoupil/APLA_Dataset | 7637fa1f6b29def80ee3b9e9a8c28478a7106575 | 338c79e20ceb9be38b77de685ba76bfbe90658f4 | refs/heads/main | 2022-12-31T12:11:27.220906 | 2020-10-12T20:29:28 | 2020-10-12T20:29:28 | 303,468,494 | 0 | 0 | null | 2020-10-12T17:44:37 | 2020-10-12T17:44:36 | null | UTF-8 | R | false | true | 2,272 | rd | APLA_Map.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{APLA_Map}
\alias{APLA_Map}
\title{APLA_Map}
\format{
A data frame with 667 rows and 34 variables:
\describe{
\item{\code{Country}}{character COLUMN_DESCRIPTION}
\item{\code{Year}}{integer COLUMN_DESCRIPTION}
... |
78c996f1e18feecf7fc7de6db6095690e4a6c525 | 2d277476733ba48dee4bec8bacc6c8dfbb86717b | /man/BuyseTTEM.Rd | 9b16c6ac3a575fa0866cf547dc0018c68b56cf7d | [] | no_license | cran/BuyseTest | ef75b3c7f93a476b35786e485ae4ab2e56c8d90f | a3dfe49778c8d5e2f0b987dd2e9cfbd6f01cb479 | refs/heads/master | 2023-04-14T00:41:38.778354 | 2023-03-20T21:30:02 | 2023-03-20T21:30:02 | 135,258,510 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,584 | rd | BuyseTTEM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BuyseTTEM.R
\name{BuyseTTEM}
\alias{BuyseTTEM}
\alias{BuyseTTEM.formula}
\alias{BuyseTTEM.prodlim}
\alias{BuyseTTEM.survreg}
\alias{BuyseTTEM.BuyseTTEM}
\title{Time to Event Model}
\usage{
BuyseTTEM(object, ...)
\method{BuyseTTEM}{formula}(o... |
c2caa9dce8e712e1a93ca3b569796b2cc1e7f913 | d9485ffc49f5b8309bf5ce34abd76e86abc721ff | /R-libraries/myUtilities/R/dbdt.R | e8cbe37661919e43425e932b74330fe31d1fd388 | [] | no_license | jyqalan/myUtilities | a42944cd6e370c23ce8d232017f6db4949f09cca | 73de6f8defc617c1fdf5537f4d159d653d876a0d | refs/heads/master | 2020-12-10T23:35:22.603147 | 2018-04-20T13:50:58 | 2018-04-20T13:50:58 | 55,338,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36 | r | dbdt.R | dbdt <-
function(b) r*b*(1-(b/K)^p)
|
8c59d85119aa994098a265e93714f096326784f3 | 2bf844c54a9a433aacd7384a4fcb3dd3f71b5469 | /R/trash/Clipping_script.R | eebc2f2af7bccdb92ce1139d6ae58ed317e75acb | [
"MIT"
] | permissive | JamesDMSpeed/LidarMoose | a144f6a33eac141d2dd1ee15ddf4443544083b36 | 7e9c10785e9c86a359acd58087c5fb45d98cdcca | refs/heads/master | 2021-06-10T12:02:32.192615 | 2021-04-29T19:35:47 | 2021-04-29T19:35:47 | 146,406,974 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 47,970 | r | Clipping_script.R | #Clipping_script
require(lidR)
require(raster)
require(rasterVis)
require(rgeos)
############TRONDELAG##################################################################
#BRATSBERG
#Import plot coords
plotcoords<-read.csv('Troendelag_20m_flater_pkt.csv',header=T,sep=';',dec=',')
#Import las file
bratsberglas <- readL... |
07d1fcaf9f4c2404a165c2bfb95a7fd416de8213 | 9a48ef3292c5a550effd3b7e9557f6db7a607678 | /sclust-smc-het/sclust_reader_snv_mutect.R | 35d14c6447a78b412116b173ab373e2975c16c9e | [] | no_license | smc-het-challenge/6181088 | 1133f0c973e3077243e1240e67ebd273f502895e | e927205287cbc2681922fb662308fe29a2d1598b | refs/heads/main | 2023-04-24T13:21:16.428952 | 2021-05-06T23:56:18 | 2021-05-06T23:56:18 | 365,068,543 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,432 | r | sclust_reader_snv_mutect.R | # =============================================================================
# Title: Sclust (for the SMC-Het Challenge)
# Name: sclust_reader_snv_smc-het.R
# Author: Tsun-Po Yang (tyang2@uni-koeln.de)
# Last Modified: 15/06/16
# =============================================================================
# ------... |
78ea0ea2f0291cac3aadc9b6a40464c8128d45b6 | 29f8f3ee59c366ea408633d183614bc39b49b26d | /Duke_DGHI/br_zikamicrogir_code.R | 364eee24d0bb4db7cdace82089a5be40d54c47b2 | [] | no_license | souzajvp/analytical_codes | 92db345dc75f128c2f25fb7b28f0891139ffea98 | dcc49662253ba1dbd4f54b8c4caea40232632783 | refs/heads/master | 2023-05-23T06:06:12.058469 | 2021-06-07T18:11:00 | 2021-06-07T18:11:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,197 | r | br_zikamicrogir_code.R |
library("plyr")
library("lubridate")
#WEEKS
data_zika1<-read.csv("/Users/joaovissoci/Box Sync/Home Folder jnv4/Data/Global EM/Brazil/zika_gis/br_zikaepi_data.csv")
data_micro<-read.csv("/Users/joaovissoci/Downloads/microcefalia.csv")
data_nascvivos<-read.csv("/Users/joaovissoci/Desktop/nascvivos.csv")
data_zika_week... |
e2ea2a91e9649f03ec05d9f105b040774cdd4b0f | 6242962bfa0e8022cebc8822def9c611eea02132 | /2021/2021_40.R | 52ebd6ee4af7ac114060a042fa9710388bbd784c | [] | no_license | nickopotamus/preppin_data | d2c12800252792a96e5c6d3ec311eab40064a058 | fc19d5ed55e659bed65ecb2da580039846345032 | refs/heads/main | 2023-09-01T04:54:07.096793 | 2021-10-07T05:19:22 | 2021-10-07T05:19:22 | 414,340,873 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,150 | r | 2021_40.R | # 2021, Week 40
# Animal adoptions
library(tidyverse) # Data handling
library(curl) # Better import
temp <- tempfile()
source <- "https://data.austintexas.gov/resource/9t4d-g238.csv"
temp <- curl_download(url=source, destfile=temp, quiet=FALSE, mode="wb")
cats_and_dogs <-
read_csv(temp)[-4] %>% # Remove dupl... |
dd834908041f5b03cc7c52048ea1e697d8c50708 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gamlss.countKinf/examples/gamlss.countKinf-package.Rd.R | acd20c140d6d54385985900e35a988538b3003a4 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 454 | r | gamlss.countKinf-package.Rd.R | library(gamlss.countKinf)
### Name: gamlss.countKinf-package
### Title: Generating and Fitting K-Inflated 'discrete gamlss.family'
### Distributions
### Aliases: gamlss.countKinf-package gamlss.countKinf
### Keywords: package distribution regression
### ** Examples
# generating one inflated distribution from SICH... |
259cc09c3936db0673eae8abb1f43d141b029e95 | d4a2668077fe1c2561e4fac54a1f3b36523fec3d | /R/ORF_to_UniIds.R | a45dc139023672ac3fc58049c798f71dbc3fbcf5 | [] | no_license | saha-shyamasree/Proteomics | 23c58cc00b812140e85638911f603b1737599151 | 3c07a069c87dcc1c09f2665da0ac29e055e40da2 | refs/heads/master | 2020-12-06T20:36:11.158420 | 2016-05-27T12:53:56 | 2016-05-27T12:53:56 | 24,229,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,195 | r | ORF_to_UniIds.R | #### Conrad's proteomics course.
### This code reads identified ORFs and BLAST result and write a list of uniprot proteins that were identified.
source("D:/Code/Proteomics/R/RLib.R")
rev=1
peptide=1
pepThreshold=1
upper=0.000000000000000000000000000001
f1="trinity_PITORF+fdr+th+grouping+prt.csv"
f2="trinity_PITORF_hu... |
13ca2962f7ae3be39f265c92bfd8a4eddf0b7733 | bd72f4093a04c5abe7c54fa0dbcf7de0f0b39ed3 | /testes/leitura_cadUnico.r | 906cc268621c242458dbf06eb98f290be6deeab8 | [] | no_license | nataliabueno/microdadosBrasil | fdd8b53489468015a663776182342f4dafa03931 | 0a638fa5a718bf6c759a4a81873ae4c5770b2f32 | refs/heads/master | 2021-06-21T22:53:06.164782 | 2017-08-10T19:23:00 | 2017-08-10T19:23:00 | 100,613,774 | 5 | 0 | null | 2017-08-17T14:42:21 | 2017-08-17T14:42:21 | null | UTF-8 | R | false | false | 321 | r | leitura_cadUnico.r | library(dplyr);library(devtools)
wdMB <- "//Sbsb2/cadastro_unico_novo/microdadosBrasil-RA/microdadosBrasil-RA"
wdCadUnico<- "//Sbsb2/cadastro_unico_novo/CadUnico_V7"
setwd(wdMB)
load_all()
cadUnico_192013_01<- read_data("CadUnico",i = 2013, "domicilios", metadata = read_metadata("CadUnico"),root_path = wdCadUnico)... |
84c19506ad93097139dcdd58ca781a8f5d78bc36 | 22020d281cbb4e33716830d75bda413e0bdaa0ff | /run_analysis.R | b26a506d8a8bea2aab059179beda454cbb7d14ea | [] | no_license | Monica1104/Getting-and-Cleaning-Data-Course-Project | c7ab493c7cd33ac9d8a7ecc83884b83a421975e6 | b5cf93e7b117855648aa6fb890727c6a7efea85a | refs/heads/master | 2021-01-01T16:41:19.914205 | 2017-07-21T03:35:49 | 2017-07-21T03:35:49 | 97,889,235 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,315 | r | run_analysis.R | # 1.Download and unzipping dataset
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl, destfile = "./data/Dataset.zip",method = "curl")
unzip(zipfile = "./data/Dataset.zip",exdir = "./data")
#2.Merge... |
dec1d68ac501928cb1fdb547fabc4d80197ead3b | e060a2fdce1ff7a7c8627fa5d8e18b80f3929de8 | /Code/Plots/PIED_plots_resid.R | f7d113a35c6934f7a47f03fd840ace6b9479c44c | [] | no_license | emilylschultz/DemographicRangeModel | 0836a76ec86a643b5014d04d954b3ce0d06c7aa6 | ccdb717c36b21f18a968a9a5ffed9577f9d31df0 | refs/heads/master | 2021-09-26T13:11:12.991896 | 2021-09-16T18:50:35 | 2021-09-16T18:50:35 | 164,713,091 | 2 | 1 | null | 2019-01-08T18:54:05 | 2019-01-08T18:54:05 | null | UTF-8 | R | false | false | 73,029 | r | PIED_plots_resid.R |
library(raster)
library(rgdal)
library(rgeos)
library(dplyr)
library(glmmTMB)
library(coefplot)
library(ggplot2)
library(ggeffects)
library(cowplot)
library(effects)
library(DHARMa)
library(lme4)
library(grid)
library(MuMIn)
library(car)
load("./Code/IPM/GrRescaling.Rdata")
load("./Code/IPM/SurvRescaling.Rdata")
load... |
6f284d867344e84c4140e350f7e0e965a6482c2f | 39770b7fdb336b49e1f46d3dec3928549b5aa37c | /R/makePolicyTechnologyChange.R | db9e1cd5f9d2586f2c24d8f3eee3141b3bd36ef0 | [] | no_license | cran/GE | 43930f03e55c49b7ac5dec166b65f26a337022af | da036424c04569660da21d899f879749343ba145 | refs/heads/master | 2023-09-01T05:09:07.662756 | 2023-08-17T07:52:45 | 2023-08-17T10:30:33 | 252,856,081 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,663 | r | makePolicyTechnologyChange.R | #' @export
#' @title Make a Policy of Technology Change
#' @aliases makePolicyTechnologyChange
#' @description This function returns a policy function that changes the attributes alpha and a of the demand structure trees of agents specified.
#' An attribute alpha is usually a parameter of a CES or CD function.
#' ... |
b961faf359549405f55af4e45edef4fbdccd7ac9 | cfa61c03961746223b4b4aab8434b8ee80a0df90 | /Modeling.R | 7910f03df35685a6c5578a9daad93418e2c8fd0d | [] | no_license | crump1/Modeling | cf5310802c1cfda183e1a408cd60fe72b9287217 | 0a09998e3c2deb107b50a1daee63cd3056b26e0c | refs/heads/master | 2020-04-14T22:25:22.818399 | 2019-01-06T20:43:48 | 2019-01-06T20:43:48 | 164,159,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,249 | r | Modeling.R |
#Linear regression with one predictor
#Load data from 2011 MLB season
library(statsr)
data(mlb11)
ml<- mlb11
head(ml)
#Using runs as the response variable - the obective of the game, after all,
#is to score more runs than the other team.
#But what is the key driver of runs scored?
#Let's first look at some traditi... |
1fe31b1ffa1fa205b54eb83d26a1a27673bfb821 | 5e486203c665acf112e514fe1642c1f16ba1b8dc | /Oct_02_2014/Ebola2014/MultLocTest.R | 53cebb53eebeb6ec2cdd168958ebedc28f093d5b | [] | no_license | grantbrown/Ebola-2014-Analysis-Archive | c8b2b3afbe0e24d63f998b22cbdd947ab428b5d6 | 591bab6a95b9595b25674bd2c1a7bb0c3b8364b2 | refs/heads/master | 2021-01-19T17:13:43.734207 | 2014-10-27T21:45:14 | 2014-10-27T21:45:14 | 22,686,537 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,793 | r | MultLocTest.R |
library(knitr)
library(coda) # Load the coda library for MCMC convergence diagnosis
library(spatialSEIR) # Load the spatialSEIR library to perform the modeling.
library(XML) # Load the XML library to read in data from Wikipedia
library(parallel) # Load the parallel library to enable multiple chains to be run simultan... |
107879be8fb4da0f6ea5d7b4fb11297571db1be8 | 2d66350fc95b2d2eeeb6ffcf0a26827c43d95a4d | /R/config.R | adb47b2feae3f88f98690321a4b00226e325a804 | [] | no_license | sangddn/baseball-salaries | 345c0eb4d115f99a512659d27049c652afa773b5 | 054c2c0c6eeeb329a85ed0962dbb1ac8cae582e5 | refs/heads/main | 2023-05-05T10:00:14.942086 | 2021-05-29T13:48:28 | 2021-05-29T13:48:28 | 371,976,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 125 | r | config.R | source('data.R')
source('analysis.R')
library(tidyverse)
library(magrittr)
library(viridis)
library(ggrepel)
library(ggpubr) |
3caa5e9251049ae604aee9d69ebab30b1a963e86 | ae02c39397298b50526648887ac620ef26951314 | /myprojects/Kunnat/kunnat.R | fe57fe3df3355e058b612708b8a46371d3c341c1 | [] | no_license | juhaeljas/datasciencecoursera | d289cd27486300cfc947b31e122dabc01c440255 | a04ead8f57d25bad3a6eaebf0c20ba47383b52be | refs/heads/master | 2022-05-05T17:31:21.784744 | 2022-04-05T10:23:41 | 2022-04-05T10:23:41 | 69,235,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,846 | r | kunnat.R | setwd("C:/Users/Jussi/Documents/datasciencecoursera/myprojects/Kunnat")
asukkaat<-read.csv(file="asukasluvut.txt",encoding="UTF-8", header=FALSE)
colnames(asukkaat)<-c("Kunta","asukasluku")
pintaalat<-read.csv(file="mml_vuositilasto_2014.csv",encoding="UTF-8")
levels(asukkaat$Kunta) <- c(levels(asukkaat$Kunta), "Kosk... |
7828d061cfe4fa64012c3717b24e5ff1a6fbd623 | d8f7bfbe482d98ead30ac58b9c7ae4c254e93579 | /R Programming/practice8.R | 86ac03b860f27bc1157621d7cfb9acfa1b565a5d | [] | no_license | Leoberium/Rmisc | 1aa29ab9883f319bdf6b684f78f738079869efee | 7f48c97dd81ae3fcdcbeb364e69c588754b07946 | refs/heads/master | 2020-09-25T05:49:40.574778 | 2019-12-04T19:50:27 | 2019-12-04T19:50:27 | 225,931,702 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,250 | r | practice8.R | genN <- matrix(rnorm(50000), ncol = 5)
genC <- rbind(matrix(rnorm(2500, 3), ncol = 5), matrix(rnorm(47500), ncol = 5))
pvals <- sapply(1:10000, function(i) t.test(genN[i, ], genC[i, ])$p.value)
alpha <- 0.05
sn <- sum(pvals < alpha)
hist(pvals)
falspositiverate <- alpha*10000/sn
pvalsBH <- p.adjust(pvals, method = "BH... |
77cb765a4f6846fb1108a30b5e1e64557992b0eb | 143cb871f22f85400e585ee01e6b5376ca210e45 | /cluster_number_estimation.R | e8693ed82016a4426cf5dbf0f3f57bb8447b644d | [] | no_license | NeyoShinado/DMMG | 7ae2fed39847dc05f171fec436dfba1474c6a7b8 | 210a2c4cbb6e2d889b640d112026ba4a8bbd1a7a | refs/heads/master | 2022-11-19T21:01:48.666922 | 2020-07-06T15:45:56 | 2020-07-06T15:45:56 | 277,583,372 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | cluster_number_estimation.R |
cluster_number_estimation <- function(X){
return(K)
} |
8d812bf60b3815ddb2ecda41abeca1d086c7c2ed | 0f8d0117207253ccb94ed0362e8b13c526d3df4b | /man/rename_pacfin.Rd | 9e3bf006224379f0a37e5807ff17194333a61abb | [] | no_license | brianlangseth-NOAA/dataModerate_2021 | 4718f2183130c2015e7f08b6164432dbf7a1d294 | 281368f0b500e4b0d2fe482f5838bb7c87ce51dc | refs/heads/master | 2023-04-26T20:09:42.255323 | 2020-09-22T17:59:02 | 2020-09-22T17:59:02 | 285,872,139 | 0 | 0 | null | 2020-10-06T20:40:05 | 2020-08-07T16:17:09 | R | UTF-8 | R | false | true | 640 | rd | rename_pacfin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rename_pacfin.R
\name{rename_pacfin}
\alias{rename_pacfin}
\title{Create standarized cleaning and renaming PacFIN data.
This should be folded into the cleanPacFIN function.}
\usage{
rename_pacfin(data, area_grouping = NULL, area_names = NULL)... |
ecb52c2fad238d2c1ff3b0b42ca460fd3498f36d | dc5673ce188e1702e1870bbcdbdec6da34ab55b5 | /R_repository/acousaR/R/OneChannel.R | 4b12467e4b58b0ee92610c2c6964166e7f24d9a9 | [] | no_license | saschafassler/acousa | 56c04d442e35ae15f19bf0032f89c8ec8e19e5a9 | a7d30e66c4aff802643a49d72a41558a4a5efa0c | refs/heads/master | 2021-01-10T04:03:18.302152 | 2015-12-10T14:51:57 | 2015-12-10T14:51:57 | 43,646,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,061 | r | OneChannel.R | ### OneChannel
# load Biology file
AcousticValues <- read.csv(file="D:/Sascha/Projects/WKEVAL/Dutch HERAS data/PGNAPES format/2014TRI2HERAS_AcousticValues.csv",header=TRUE)
AV_channel <- data.frame(matrix(ncol = length(colnames(AcousticValues)), nrow = length(unique(AcousticValues$Log))))
colnames(station_recs)... |
fe463fe377e07e1cfc6dbb66b380b57c796e2cd7 | b5425d6e042fb343ee2f343f75c6aa8e8d2a64de | /Control_vs_Sub_Behaviour_script.R | 6c1e991fadedae166292c31670fa97fa45a0c77a | [] | no_license | cls83211/dreaetal2021 | 6359de4c36b2887a9124e7d5ae8edb15478b19d2 | 425041e024fded84d7a2dc2aff6aafc10f219f68 | refs/heads/main | 2023-04-17T06:21:45.460375 | 2021-11-30T16:59:11 | 2021-11-30T16:59:11 | 327,763,712 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,147 | r | Control_vs_Sub_Behaviour_script.R | # Charli Davies
# Meerkat Preg behaviour analysis for C vs S - over 3 pregancy stages (MP, LP, PP) - all locations, burrow then forage
# last modified 29/05/2019
# clear R of all objects
rm(list=ls())
# Load libraries####
library("car")
library("bbmle")
library("glmmADMB")
library("lsmeans")
library(... |
5b3534f38354f1203e7629fefec6e70c74eda56a | 599232817a2b3f186c3a8c1637dbc3f344c2be90 | /tests/testthat/test-geocode.R | cbdab441db5c34cda81cdaa299a21607ab8a8dfd | [
"MIT"
] | permissive | cjtexas/citygeocoder | 01dc42d919228cc291ebbca28274b9785e22136d | 32b548a84def36f2ad6bad196a786f9e9dcc752b | refs/heads/master | 2021-07-06T23:19:11.132151 | 2021-01-14T17:15:36 | 2021-01-14T17:15:36 | 222,630,201 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 394 | r | test-geocode.R | test_that("basic geocode works", {
expect_true(all(!is.na(geocode())))
})
test_that("geocode returns data.frame", {
expect_true("data.frame" %in% class(geocode()))
})
test_that("geocode returns known value", {
expect_equivalent(geocode("Boerne", "TX"), data.frame(lon = -98.7319702, lat = 29.7946641))
})
test_t... |
9273242603a5761a2ae76fda11c2d30e11aa6900 | b74d21a6bcf7593b838c0a710e4a6a557d4a90f1 | /man/internal-functions.Rd | 72265f017f1f835013fd69d408f1f26ede1e99cc | [] | no_license | amirunpri2018/spaceNet | cbd2c212b7768c5ff0acba0de3f19a510a9ad4f3 | d6877715f7873c1ebc110535655141630cb05f68 | refs/heads/master | 2020-04-18T08:26:54.475740 | 2018-03-26T22:57:20 | 2018-03-26T22:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 435 | rd | internal-functions.Rd | \name{internal-functions}
\alias{startZ}
\alias{startLogit}
\alias{startSend}
\alias{startRec}
\alias{startLambda}
\alias{showTrace}
\alias{list2array}
\alias{sigmaFC}
\alias{muFc}
\alias{alphaBetaProp_k}
\alias{zProp_i}
\alias{lambdaProp_l}
\alias{gammaThetaProp_i}
\alias{logPosterior}
\alias{loglik}
\title{
Interna... |
5ba6b92550cea2b0201cc88a59053601bc2b2948 | 2ed70e68a904ddb39e489b79b7569a847919a8ae | /explain_change_in_predictions.R | fad0f8cd21d0e325c77a045aeb4b3c1c2771be90 | [] | no_license | abbylute/Rock_glacier_modeling | 90fea79dfd9de11243ccfe251bbad06bfde4430e | 316aa762e17fb5d5f47d9b1fc7f837b08bee99ed | refs/heads/master | 2023-06-02T03:49:17.588779 | 2021-06-25T22:07:46 | 2021-06-25T22:07:46 | 308,749,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,507 | r | explain_change_in_predictions.R | # Explain changes in probability of rock glacier presence
# as written, this may not be telling me what I think it is since the places with increases
# could still have relatively low probabilities in the future scenario. Maybe look at the three part
# plotting (persist, disappear, enhance) first, and then come back t... |
ecc69c2ae415435fd2e3bbdc590035e74f361efe | a66516b58d48b83a889d575b702eaafd1c961d9e | /R/get_liking_users.R | aae6d53465e3d6be272d51f1821b3d7bd3b50640 | [
"MIT"
] | permissive | TIDealHub/academictwitteR | 2fff7a77804add1e3b5b430011eac41a94d195a1 | e48f28e982e78199f1dd12a72028b91249c15437 | refs/heads/master | 2023-05-15T01:34:36.283414 | 2021-06-12T05:06:54 | 2021-06-12T05:06:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,442 | r | get_liking_users.R | #' Get liking users
#'
#' This function fetches a list of users who liked a tweet or tweets.
#'
#' @param x string containing one tweet id or a vector of tweet ids
#' @param bearer_token string, bearer token
#' @param verbose If `FALSE`, query progress messages are suppressed
#'
#' @return a data frame
#' @export
#'
#... |
da20d678cde514108cf21b6f029b43824592de13 | 2551bf37a87bacc63f3c1c42a714cca3bb5d0ff7 | /man/compute_average_scores.Rd | 096a6a85b41fb0c9eb8f57344b4e34cef4b0c5aa | [] | no_license | heike/bulletxtrctr | 0515a50efd944364a7e3ce783c745225590ef131 | 50842644b32612b0caedcf1c16e60853cc401893 | refs/heads/master | 2023-05-25T23:39:24.463532 | 2023-05-17T22:36:57 | 2023-05-17T22:36:57 | 140,328,927 | 0 | 8 | null | 2020-09-24T19:09:28 | 2018-07-09T18:50:29 | R | UTF-8 | R | false | true | 2,624 | rd | compute_average_scores.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bullet-scores.R
\name{compute_average_scores}
\alias{compute_average_scores}
\title{Get average scores for bullet to bullet comparisons}
\usage{
compute_average_scores(land1, land2, score, addNA = FALSE)
}
\arguments{
\item{land1}{(numeric) v... |
312f68bf69cbea4f7c157d4e6ae08c86dfe74dd6 | 88f2455bd16b29da868cfed650330de6a219f215 | /ase_BACKUP_274.R | b9ab607900674c443e4c156cbe804d29b55e1719 | [] | no_license | ggruenhagen3/brain_scripts | 8b90902afe62d3a8c111ffb5f3fd203863330ef6 | cc9f78e431cd05fdc0d7c43ed4d5ca44e715d5cc | refs/heads/master | 2023-07-08T03:27:24.566197 | 2023-06-19T18:49:09 | 2023-06-19T18:49:09 | 225,917,508 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 95,590 | r | ase_BACKUP_274.R | <<<<<<< HEAD
library("RUnit")
library("MBASED")
library("metap")
library("DESeq2")
library("apeglm")
library("EnhancedVolcano")
#=========================================================================================
# New UMD2a Data
#=========================================================================... |
c256962525b3d0f1dd56caf7706b4a964cd484fe | b40ea60204f4f3e6c53079d012ef7a2cd8b2bc41 | /day2/day2.R | ab4be031bdd9d22787ba1b13b4fc49adec53bce9 | [] | no_license | johnlocker/adventofcode2018 | f9648fc316e6ce6e61dab38d936a2eb4acde3587 | 3d8cae621c663df3a423b30e0b15e9bf713871c6 | refs/heads/master | 2020-04-09T09:16:36.802088 | 2018-12-16T16:41:03 | 2018-12-16T16:41:03 | 160,227,411 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,096 | r | day2.R | input <- read.table(file.path("day2", "input.txt"), stringsAsFactors = FALSE)
df <- data.frame(str = input$V1)
df$two <- FALSE
df$three <- FALSE
df$values <- NA
matchNotFound <- TRUE
for (i in 1:length(input$V1)) {
spLetters <- unlist(strsplit(as.character(input$V1[i]), split = ""))
counts <- table(spLetters)
df... |
8c0fcc97319f33ac8c59eec2007f97e188e63dc2 | fb6563e8e589d1cfd124eb32e67c109a451290d9 | /project_app/app.R | fa981bcc2351549a8bbde571551300e8bcc45ee8 | [] | no_license | rben18/dataViz_final_project | 5164ee8c53ed8e3fbccfe4ce55ed6ba541b4fa45 | abfe3788200bfbf5ecdc69b7bd2c3ec978ecea6f | refs/heads/master | 2020-09-29T03:01:56.776406 | 2019-12-16T17:24:21 | 2019-12-16T17:24:21 | 226,934,286 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,075 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(tidyverse)
library(leaflet)
library(dplyr)
library(sf)
library(DT)
library(KernSmooth)
libr... |
9a2c4a8e6ab0225228b2248f85492b7a172d032e | f61678dc8d0291069ef81772918c4dad91a6e7e5 | /Data/Final dataset with variable types.R | d635d27790d162a7548671be86f6eef3777c837c | [] | no_license | bowes-chris/footballplaycaller | 10ee31852787ec5b2b434933c6da3cfe671356f3 | 8a6d0b4ff389e9a8b9a156a5719f07110570c158 | refs/heads/master | 2021-05-08T08:36:10.408908 | 2017-12-08T22:31:10 | 2017-12-08T22:31:10 | 107,051,050 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,073 | r | Final dataset with variable types.R | ############################################################################################################
############ This file is to create a final dataset to create all models from.
############ The first 20 variables are known-before-play variables.
############ Variables 21-25 variables are options variables.
... |
90fc680b2e65aac93bbb6c284889f5170c99cedb | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/7832_0/rinput.R | d885fe71b9929675aea2d6c318d0d64571db93a2 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("7832_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="7832_0_unrooted.txt") |
aeb30bd8ff2d4519ec942dc3a03863baf7ea236a | 3eea0347be8d20bf6cdfeb102668e0af0f20ede2 | /RunModelFinal.R | e2fd348d8e16c9b9a4217cd7f9502dc44e2a874f | [] | no_license | jninanya/YieldPrediction | 68842382a17f6ab9eee68980abb3fe3646631952 | a6381c67b6de61fac070d2b8bb82601e192e77dd | refs/heads/main | 2023-02-26T01:30:07.358413 | 2021-02-03T14:44:24 | 2021-02-03T14:44:24 | 335,436,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,358 | r | RunModelFinal.R |
library(lubridate)
dat = read.csv("CropParametersFinal.csv")
path = "C:/Users/jninanya/OneDrive - CGIAR/Desktop/Taller - CIP_LAC/SolanumR/MeteorologicalData/"
FileName = paste0(path, "RCP85Data_2091-2100.csv")
yyy = c(2091:2100)
mtx1 = matrix(nrow = length(yyy), ncol = 4)
mtx2 = matrix(nrow = length(yyy), nco... |
d6577815878577c018ae1e49d482b598e52a38e1 | be01433ef1c49d13046933eaf1a7ea1705cd7e5a | /LogisticRegression.R | 7c497755f9d88314b23a557d76846b88f3fb645a | [
"MIT"
] | permissive | sjkim0716/Logistic-Regression | 9360617383f1879687537b9de6d9bff0fd922b67 | c41d99e9046df50d0575fe82cb1cdd77c3ed64d7 | refs/heads/master | 2021-06-14T19:59:15.055731 | 2017-03-14T19:31:48 | 2017-03-14T19:31:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,977 | r | LogisticRegression.R |
library(car) ## needed to recode variables
set.seed(1)
## read and print the data
delays_flight <- read.csv("~/FlightDelays.csv")
delays_flight[1:3,]
## define hours of departure
delays_flight$sched=factor(floor(delays_flight$schedtime/100))
table(delays_flight$sched)
table(delays_flight$carrier)
table(d... |
60ab53e400ddec09cb862d0f40bfab946cf19971 | 8dd0d70f4a9afeabdac926ffe6ab101c7196c8a6 | /R/seaMass.R | 34bd7ee923fff97b9b26b4ac58cf054ea5d58a2e | [
"Apache-2.0"
] | permissive | alecksphillips/seaMass | 664ca1172be2e869e43710359617193ab66dfaa5 | 59d4735142681ad775eb59b4efb94a51ebad3739 | refs/heads/master | 2020-11-24T00:52:38.020717 | 2020-09-30T15:24:29 | 2020-09-30T15:24:29 | 227,891,326 | 0 | 0 | Apache-2.0 | 2019-12-13T17:33:46 | 2019-12-13T17:33:45 | null | UTF-8 | R | false | false | 12,072 | r | seaMass.R | .onAttach <- function(libname, pkgname) {
packageStartupMessage(paste0("seaMass v", packageVersion("seaMass"), " | © 2019-2020 BIOSP", utf8::utf8_encode("\U0001f441"), " Laboratory"))
packageStartupMessage("This program comes with ABSOLUTELY NO WARRANTY.")
packageStartupMessage("This is free software, and you... |
69650b32c9516a463616621d106e337849645399 | 7a116ffcce3c2772c5eaf5ba7e110c8f42fc05e8 | /AV-BLFixedETF.R | e52d343fc17019bd70ac204a009a35adc71bd9d5 | [] | no_license | Archieus/AVBatchQuotes | 92705cbd76c8449515ead73d4e565945bd4d4272 | 24761faf4e3616dc1ea3366adbe0f34d4b4c1e9f | refs/heads/master | 2021-05-08T19:35:30.579165 | 2018-06-28T17:32:09 | 2018-06-28T17:32:09 | 119,574,019 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,533 | r | AV-BLFixedETF.R | library(PerformanceAnalytics)
library(PortfolioAnalytics)
library(fPortfolio)
library(quantmod)
library(BLCOP)
Sys.setenv(TZ = "EST5EDT")
#### reads/loads CSV into R ####
symblist <- t(read.csv("blfixed.csv", header = FALSE))
quotes <- new.env() # create new enviroment for data to be loaded to
#### CREAT... |
0200ce71ad13755061ea74374aa948536b4d11ec | 25eea0b5f652efe51efab98ccde893f27342e4b3 | /raw_script.R | a898808e92128332a713a20248477eaa49b4d3b2 | [] | no_license | AdemRamadani/RepData_PeerAssessment2 | af44e0299f68877d37253d938a94036a177cf25c | 051c6001d3479f203065407ef754c496d4ac20c2 | refs/heads/master | 2021-01-23T03:12:34.307178 | 2015-04-26T18:40:30 | 2015-04-26T18:40:30 | 34,625,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,791 | r | raw_script.R | library(reshape2)
library(plyr)
library(ggplot2)
library(maps)
library(RColorBrewer)
normalize <- function(vect){
(vect-min(vect))/(max(vect)-min(vect))
}
#load data
data <- read.csv(bzfile("./data/repdata-data-StormData.csv.bz2"))
#select relevant columns
data <- bigdata[,c("STATE","EVTYPE","FATALITIES","... |
a6f22a72578b62170fcca646cf9233471bae0601 | 5f84c091215fd0dcffd015492f72ae2e373c89ce | /scripts/analyze reports - produce tables.R | abd4e7c6faa42dbf9d414e3e20ef96ef49289836 | [] | no_license | harell/Rare-Category-Exploitation | f0ffd28884923aa576eca0d32e997663d19891d1 | 3fcf8ac1d4bbb5aeb74723a17bd8a0719e6ce56c | refs/heads/master | 2021-06-12T09:38:44.924128 | 2017-03-07T13:47:59 | 2017-03-07T13:47:59 | 54,336,455 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,352 | r | analyze reports - produce tables.R | ################################################################################
# Analyze Reports - Produce Tables
################################################################################
## Initialization
cat("\014"); rm(list = ls())
source("scripts/load_libraries.R")
invisible(sapply(list.files(pattern="[.]R... |
178c2e7dd3a8e8aa71dc74db5be87e7b68a0f213 | 05c616dfe991d0009ab25e882a952ecd3e691b18 | /plot1.R | 1da13194f1ed10c3ee6ed6a8f1e1306103b3ce85 | [] | no_license | ncub8/ExData_Plotting | 3c90a93b9176b12ac9c59f54ccdd12f5d06d2ea8 | 4d83b67bb98ba8b3e9ae96ace81a4e92fdeed3a7 | refs/heads/master | 2021-01-02T09:08:19.758921 | 2014-05-11T02:26:36 | 2014-05-11T02:26:36 | 19,621,203 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 936 | r | plot1.R | #set up getting and cleaning data as a function
getData <- function(){
# file to get data
f <- "household_power_consumption.txt"
# use a sql select to get correct dates
selector <- "SELECT * from file WHERE Date = '1/2/2007' OR Date = '2/2/2007'"
#read the table the selector
powerData <- read.csv.sql(... |
8268def35c0fe0184d7659b7fb13de4d5b56b7dc | f034b5b16fc69d50c0036d8e99b58dd48dd698b9 | /code/check_control.R | d21217f20d86fc53103ec629d6108e227b4c594c | [] | no_license | maplefly/lx2020 | 69663814234e22c6e76abb4052499603de050598 | f8ce27a86e0bc23240375eabc93a796f97a5ec29 | refs/heads/master | 2022-06-17T16:28:36.850671 | 2020-05-12T08:37:02 | 2020-05-12T08:37:02 | 262,951,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 786 | r | check_control.R | #用于核查自检阶段
rm(list = ls())
source("code\\library.r")
source("code\\fun_general.r")
#############
FILE_TEST <- "E:\\V\\DMZZ\\1data\\test\\ins\\2019-鼎城-直流数据.xlsx"
#############定义保存的文件夹
FILE_SAVE = c("calc\\ins_check\\") #用于保存核查结果
raw <- xls_read(FILE_TEST,"直流充电连接控制时")
names(raw)
data <- raw[1:10,c(2,13:31,6,7)]
... |
4685382483890f383303f1a9b9f0da634e303199 | c6cb61ab1c245610011fe976e8cd1ad462d875e6 | /ML/LinearRegression/Regression & multiple regression in R script.R | ae0374b3d2bc95457120bf9c165a1de807bc6ee2 | [] | no_license | Pradyumn10/R-Files | 468c7f9e7b36522d72accc8d11130b50355300f0 | 8b0f3576978b077a9ed0611eeb5f21612a97072b | refs/heads/main | 2023-04-06T07:58:50.031556 | 2021-03-27T16:50:41 | 2021-03-27T16:50:41 | 352,122,524 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,191 | r | Regression & multiple regression in R script.R | # import the Lungcapdata
LungCapdata=read.csv(file.choose(), header = T)
#Attach the Data
attach(LungCapdata)
#Check names
names(LungCapdata)
class(Age)
class(LungCap)
plot(Age, LungCap, main= "scatterpot")
pairs(LungCapdata[1:3])
#linear model
model= lm(LungCap~Age)
summary(model)
# Multiple Reg... |
fdb55496611e912365267f2cc89bcadddd202db7 | 21d259a197d60ee17eb7544c94c867bc56901d14 | /PCA/pca.r | 6e52cc3971fbf9fba66ba14676372ae2f7919363 | [
"MIT"
] | permissive | ZahraFarajollahi/Gene-expression-data-in-leukemia | b4f0a4e5a501f80e0ea2a4757bb380fdf53d67a3 | 10fa51d379477353376e83c829cc04346330b1d5 | refs/heads/main | 2023-07-09T12:41:08.618326 | 2021-08-17T08:34:17 | 2021-08-17T08:34:17 | 387,749,508 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,043 | r | pca.r | library(ggplot2)
# read the file
x1= read.delim("E:/denboer2009-expr.txt")
rownames(x1)= x1[,1]
x3 = x1[,-1]
x= as.data.frame(t(x3))
# read the lables
y= read.delim("E:/denboer2009-pheno (2).txt")
rownames(y)= y[,1]
y= y[,-1]
#compute principal components of gene expressions
pc = prcomp(x)
# plot & save most impor... |
ecfa5e8d40587789866ac32b3dcbc705a69f60d9 | 5bac3ce8fa5ce7921b2c318d46500020b5b4d3d1 | /man/rndfp.Rd | bc54ec331d5da1193d880a87af293c96c9c23bd0 | [
"Apache-2.0"
] | permissive | CDK-R/fingerprint | ce621309e28d00e18e1a284795418e228c507895 | 8da6b320856538a05d5502b8be5191193d714e34 | refs/heads/master | 2022-10-26T09:01:21.536490 | 2022-10-16T23:08:52 | 2022-10-16T23:08:52 | 156,985,877 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 779 | rd | rndfp.Rd | \name{random.fingerprint}
\alias{random.fingerprint}
\title{
Generate Randomized Fingerprints
}
\description{
A utility function that can be used to generate binary fingerprints
of a specified length with a specifed number of bit positions
(selected randomly) set to 1. Currently bit positions are selected unifo... |
348ea5dc34e5e7be6d4bcefedde943bbd37874aa | 4a2f672e9075cd74dc287db0c0d024f157aa3bc7 | /man/each_mRNA_pSup.Rd | 81e5fc7991a04d67cd9f42b73868318bc968d13c | [] | no_license | jabard89/SedSeqQuant | 5dc830ed42ab460ef6c812c5c8f228f8fa2e8ce3 | fe13dc1c1495b06547905e7bbee4aa5c271daea0 | refs/heads/master | 2023-07-27T00:27:35.139179 | 2020-08-20T05:34:39 | 2020-08-20T05:34:39 | 670,822,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,000 | rd | each_mRNA_pSup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_pSup.R
\name{each_mRNA_pSup}
\alias{each_mRNA_pSup}
\title{Represent pSup for each transcript}
\usage{
each_mRNA_pSup(
wide_data,
chains = 4,
iter = 1000,
control = list(adapt_delta = 0.85)
)
}
\arguments{
\item{wide_data}{A wider... |
ad03f864ce66d78483b909e913e572ec9a9f14fe | 016ce892d3742148c23bfd1eb5d0e4553e549d37 | /R/onloader.R | a586634fbc48abc7a4e4899bddb5a0f339453e2e | [] | no_license | RobinHankin/cmvnorm | 567dd1d4aeacc769d7cfa677161beb2da65af242 | d2ca1279baa837f45090f9786eea6219e679a6d3 | refs/heads/master | 2023-08-08T17:06:25.029213 | 2023-07-31T20:56:37 | 2023-07-31T20:56:37 | 133,745,286 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 160 | r | onloader.R | `.onLoad` <- function(libname, pkgname) {
assign( "sd.default", stats::sd , asNamespace(pkgname))
assign("var.default", stats::var, asNamespace(pkgname))
}
|
0ed465b5b17aa9c97133e810a3ed61888d19827a | 35902ea94d808a4cf80050b3eba004d3fc2eef9d | /scripts/fit_model_horizontal.R | 23c235c63c3d3771d8d0f783dfc661deb821246a | [
"CC0-1.0"
] | permissive | Kucharssim/WALD-EM | 79f2099b3490bba479f4a6700d524cbd71e607d4 | 9a34d02ba2f565b0291099b495f2683a0b0562b7 | refs/heads/master | 2023-01-06T05:08:52.399454 | 2020-11-10T10:55:43 | 2020-11-10T10:55:43 | 248,290,398 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 486 | r | fit_model_horizontal.R | # Application of the Dynamic model of eye movements on the Renswoude's object familiarity data
library(rstan)
rstan_options(auto_write = FALSE)
library(here)
# load stan data
load(here::here("saves", "stan_data.Rdata"))
model <- rstan::stan_model(here::here("stan", "objects_central_distance_saliency_horizontal.stan")... |
de450e9c97f9f3be948bd98839c7aec8cdab9a68 | 478bed5a171f199e699dc6a8061ceddad199daea | /cachematrix.R | bb98f40e9725443b0396111af4a03002f5823b77 | [] | no_license | nicaless/ProgrammingAssignment2 | a51d60dd18fae3333ee63ec985ff6b1145062160 | f74ffbb63473598878a4e9efa87d95a99032ba4f | refs/heads/master | 2021-01-21T19:44:25.826021 | 2015-01-18T01:43:45 | 2015-01-18T01:43:45 | 29,324,807 | 0 | 0 | null | 2015-01-16T00:17:00 | 2015-01-16T00:17:00 | null | UTF-8 | R | false | false | 1,024 | r | cachematrix.R | ## makeCacheMatrix creates a special "matrix object
## that is actually a list of functions to help
## cache the inverse of the matrix
## makeCacheMatrix takes a numeric matrix and creates
## a list of functions to:
## set the inverse of the matrix, get the cached matrix
## set the matrix to a new matrix,
## and get ... |
2c9377a9c35c4f4d869c6965c827e51ceabdb35f | 593d98cb8f5ebd5ef7c758f778c347c450665995 | /R/Hello World.R | 718281eef79b718afa411a8fce2db532a92d14b4 | [] | no_license | AltamashRafiq/PSLMdata | 995ba1a47efd42a6049363ce24cd3bfe3bf4b9de | 4e3fce4ec688e8885e160c0f11fe913912a04360 | refs/heads/master | 2020-06-09T17:43:45.046123 | 2019-06-24T10:31:42 | 2019-06-24T10:31:42 | 193,476,002 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 60 | r | Hello World.R | hello_function = function(x){
print(paste("Hello ", x))
}
|
235c526059d5a2811f4217dea868190ceb05794e | 712d7bcb5911eceea974198f8f047e0b36f619fe | /01 Supervised Learning : Classification/404 large tree.r | 9f749ab4c64323b0bed126e957da828aafb705f0 | [] | no_license | chunhuayu/Machine-Learning-in-R | 6e56c51cb383a5268b4b51b794e22a8893e61b5f | e26efba073cc93673f4b81aab6bae04721b06c17 | refs/heads/master | 2020-06-02T20:27:00.522742 | 2019-06-28T22:50:19 | 2019-06-28T22:50:19 | 191,299,927 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,822 | r | 404 large tree.r | ### Building and evaluating a larger tree
# Previously, you created a simple decision tree that used the applicant's credit score and requested loan amount to predict the loan outcome.
# Lending Club has additional information about the applicants, such as home ownership status, length of employment, loan purpose, an... |
5d55f2aa80561772cc7f29e80abc27836e1ce321 | bf4f66294eb2e5bd7fe9e5f2decc5def7a748654 | /R/simulation.R | 824273fa531a1a5a2ae438650d38399e3d943742 | [] | no_license | jaSunny/DynamicPricingModeling | 2325a560c495df0810043b70fb7e2cf0d933cb3a | 85215df5ec317b223268f04643a13297c26efe08 | refs/heads/master | 2020-12-25T14:33:53.076753 | 2016-09-08T14:53:40 | 2016-09-08T15:10:33 | 67,712,501 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 607 | r | simulation.R | simulateSales <- function(TT,N,a_opt,steps1,steps2,prices1,pi){
nt <- as.vector(rep(N, TT))
at <- as.vector(rep(0, TT))
at[1] <- a_opt[N]
for (t in 2:TT) {
#adjust prices
if(at[t-1]<=40){
index <- (at[t-1] -1 )/steps1 +1
}else{
index <- length(prices1)+(at[t-1] -41 )/steps2 +1
... |
26143978223ead07428af4ed35316d45db690311 | 14861c06e2d49b59120fb101101ff91a067ef8af | /R/shrink.R | 99c174e387d3567f37ab4d7002938de45ed92d47 | [] | no_license | cran/mda | 8697d7d339979138f75a2648d0601e5c1eb4a04a | 33dcbc6062f93725dd9448dd92b348f8d8d43003 | refs/heads/master | 2023-07-06T05:12:07.668796 | 2023-06-23T03:00:02 | 2023-06-23T03:00:02 | 17,697,377 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 55 | r | shrink.R | shrink <-
function (object, ...)
UseMethod("shrink")
|
52a60e73dba9015cfa0d31ee4aceb5532e35d878 | 96e54a2f183ac913cd533b22560dbb6f9de98e64 | /man/createCrossRMPlot.Rd | f2142ccc120c22b67aa901ff672c418d5ff866de | [] | no_license | cran/KarsTS | fe9e7cb51abd77edc1cf461b92fe86e9c760b9a8 | a61bf7a479a7eeba1d2af68ff0fab8041b3d3fe2 | refs/heads/master | 2021-08-16T07:19:03.010559 | 2021-01-14T19:50:05 | 2021-01-14T19:50:05 | 92,603,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 612 | rd | createCrossRMPlot.Rd | \name{createCrossRMPlot}
\alias{createCrossRMPlot}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
createCrossRMPlot: creates a cross recurrence plot
}
\description{
This function creates a cross recurrence plot from a previously created cross recurrence matrix. It is used through the Plot... |
71219834b9ae1513bfb8b038305ff4f0e0781f67 | a3f9b39352ae4409dab117b1a1c129a8778585fb | /ONSPriceQuotes.R | 09c71cb17d69150980c7a3addb940ac0f0fbad0a | [] | no_license | VictimOfMaths/Routine-Data | 01a7a416b4f0bde909a0e15518c6cf767739f362 | 466ed22342dcb8ec941806497385f2b7f7e1d8ca | refs/heads/master | 2023-07-20T10:29:15.453387 | 2023-07-17T11:52:15 | 2023-07-17T11:52:15 | 245,402,797 | 9 | 1 | null | null | null | null | UTF-8 | R | false | false | 82,209 | r | ONSPriceQuotes.R | rm(list=ls())
library(tidyverse)
library(curl)
library(extrafont)
library(forcats)
library(scales)
library(paletteer)
library(lubridate)
library(ragg)
library(ggridges)
library(RcppRoll)
library(ggrepel)
library(ggtext)
theme_custom <- function() {
theme_classic() %+replace%
theme(plot.title.po... |
9e5d030bb0532992fa71c3d12d8d4eec1733457b | ed0dd01c900f6927c9095a1aaaac33999554dcb5 | /openrouteservice.R | 3eeed88a669756e23e90b50e42b68c80674c9bee | [] | no_license | andrewargeros/NiceRide-2020 | 338b6548af33c07724ba84d45aa18858e52197d3 | 757abd59008de8ee252bea17a9cdabfbf823dd45 | refs/heads/master | 2022-11-22T23:55:43.070524 | 2020-07-19T18:46:20 | 2020-07-19T18:46:20 | 280,929,060 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,365 | r | openrouteservice.R | library(openrouteservice)
ors_api_key("5b3ce3597851110001cf6248749acdcca12b47c4bcc96d81689a334a")
trips = paste0(bike$start_station, "-", bike$end_station)
trips = as.data.frame(table(trips))
lat1 = member.bike[which(member.bike$Station=="Lake Calhoun Center"),"Latitude"]
lon1 = member.bike[which(member.bike$Station=... |
5826f4fa4ca430ce848d659a0f67d211ab2d4a93 | fcb33243b791f03fb81ce65e3cd1f0a71cc41b4e | /TimeSeries_BikeSharing/TimeSeries_BikeSharing.R | 5f322da2370c9296807630c0c4d34e4858bc2ecc | [] | no_license | yesika1/Time_Series_Forecasting | d840a72640813937ab5f07c4651dca61b0e50cd5 | 66896f0dabb06714783773c1f48404b717793be6 | refs/heads/master | 2021-04-12T02:59:44.500120 | 2018-03-19T23:24:34 | 2018-03-19T23:24:34 | 125,931,725 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,847 | r | TimeSeries_BikeSharing.R | # ---------------------------------------------------------------------------------------- #
#
# TimeSeries_BikeSharing.R
# Author: Yesika Contreras
#
# Exponential smoothing & ARIMA time series models to predict the demand of bike rentals.
#
# Bike Sharing Dataset
# Dataset on the daily number of bicycles checkouts... |
d98a2a57a63872068c0a705af9fbc2f883b7e5bb | 1204e461bc3a2756b2205c01fcb3e847e9a262c8 | /R/interpolate.R | a59e2af902adffe38d6353a5895c0fe7976d302c | [
"MIT"
] | permissive | mrc-ide/cinterpolate | 936fb3db19bad15c995d92ea04748dcfc7ed2343 | c48d493512eb7460f3dfec062c8b74de5917a7ff | refs/heads/master | 2021-10-26T08:56:09.544985 | 2019-04-11T17:07:08 | 2019-04-11T17:07:08 | 105,753,847 | 9 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,519 | r | interpolate.R | ##' Create an interpolation function, using the same implementation as
##' would be available from C code. This will give very similar
##' answers to R's \code{\link{splinefun}} function. This is not the
##' primary intended use of the package, which is mostly designed for
##' use from C/C++. This function primarily... |
a975795d1c2f6bfa34a48d165bbd28e496529bea | 0810a1fd288ac8616ccf5e8ad40b23899e2a87a4 | /R/MAPE.R | 9e2c41fdb4ce8c35c65da6ba5a863dca88165195 | [] | no_license | limingyuan2322/MathQueryFunction | 78a716244e93f12f3e0e0362cd6372d8fe85f30a | 8087e6b773fed9de82e77c804a0ebf4d4bece7f6 | refs/heads/main | 2023-01-29T19:51:20.252874 | 2020-12-13T09:43:36 | 2020-12-13T09:43:36 | 321,027,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 752 | r | MAPE.R | #' Mean Absolute Percentage Error (MAPE)
#'
#' @description Measures absolute error as a percentage of the forecast.
#' Function don't have default value, setting by yourself.
#'
#' @param Real This is a numeric vector, it must be the smae lenght with
#' Forecast vector.
#'
#' @param Forecast This is a... |
af4381bfe5b1d83f5f07b9b8446caa4173707117 | 2fb2c0914b9bdd759620a66131b1875378f89b06 | /man/get_all_crude.Rd | 3ae86160630ff188d47b4307f8718cb97216c095 | [
"MIT"
] | permissive | owenjonesuob/BANEScarparking | 5e4a82ee3152d480c295a9b56b5e761c495be4a1 | f9b92520730423655bab24bca4cb8d8d3911d6ba | refs/heads/master | 2021-01-12T01:18:21.813611 | 2020-04-13T14:41:45 | 2020-04-13T14:49:06 | 78,367,955 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 834 | rd | get_all_crude.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_records.R
\name{get_all_crude}
\alias{get_all_crude}
\title{Download all raw records from Bath: Hacked datastore}
\usage{
get_all_crude()
}
\value{
The full dataset of car parking records
}
\description{
Reads the entire CSV file found on... |
59f23a0266da557af3aea78d36f93f5d171137f7 | df77a46155382712d5b0c5d391f658fd6341e311 | /concepts/great_learning/demo1.R | 172d8e421b5b7cec12c8a3911f3500b7bf8d9ae7 | [] | no_license | Candy128x/r-concept | fb9fa16d54f2aef229dc8c900f9e145ed5cc7e0e | 5402d177f8079b6591716aa04933e1bc9ea68ec4 | refs/heads/master | 2022-12-31T14:31:09.144400 | 2020-10-16T10:32:35 | 2020-10-16T10:32:35 | 302,610,103 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,219 | r | demo1.R |
# Variable: tem store data
a = "mobile"
print(a)
a = "pen"
print(a)
a = "makeup"
print(a)
cat("\n--------------------------------------------------")
cat("\n Data Structure")
cat("\n\n Vector Demo:")
# - Homogenious(all element has same data types) Single Dimention Data Frame
vec1 <- c(1,2,3)
cat("\n vec1 =", v... |
e9deb88e351954800d3277094aeb022f9821e785 | 284a248a59458fe52cedd46192626d228a6d0ff8 | /Class 5 -Data Manipulation v2_short.R | 2a348e011c07ba36fcb4d93098291d3a2a970c7d | [] | no_license | shreesh12/MICA_AMMA | 95ca29b8d84763a372896ee3c3c4ea7746086d18 | 499860854e53177e3e535889579fe4b8c17e2828 | refs/heads/master | 2021-01-23T09:26:27.344778 | 2017-09-07T22:42:01 | 2017-09-07T22:42:01 | 102,580,837 | 13 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,947 | r | Class 5 -Data Manipulation v2_short.R |
# ----------------------- Read data
# set up library
setwd("C:\\YYYYYY\\AMMA 2017\\Data\\data_2017\\data_2017")
# read data
prd_spend <-read.csv(file="prod_spend.csv",
head=T)
names(prd_spend)
str(prd_spend)
summary(prd_spend)
# ------------------------ Add column
# Scenario 1... |
6ee629284b01f6380ea1fc383fdaa4251b77cc63 | 29585dff702209dd446c0ab52ceea046c58e384e | /RPEnsemble/R/RPModel.R | fe1f4d0dba5f2ef42981056b5203134c9afe214b | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,494 | r | RPModel.R | RPModel <-
function(Model.No #Model number
, n # sample size
, p # dimension
, Pi = 1/2 # class 1 prior
)
{
if (Model.No == 1)
{
Y1 <- rmultinom(1,n,c(Pi,1-Pi))
Y <- c(rep(1,Y1[1,1]),rep(2,Y1[2,1]))
mu <-... |
9a6b5977e11db296b066d2aa0bb7762108d7e934 | 0e0e94e315aa1d408aa37bb2396a927d15dfe669 | /Practica2/Pregunta5.R | baac0b9f0781c08b2a103c7af6eace09150b6a1c | [] | no_license | DanielHCh/CursoR-2018 | ef9905c9bc9a6c8f9fc8fcc6e6f09dfded0b7a38 | 97acba0797f1f8598e745344cb303ad6fca6b5c0 | refs/heads/master | 2020-03-08T01:35:19.840135 | 2018-06-25T04:30:43 | 2018-06-25T04:30:43 | 127,834,765 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 804 | r | Pregunta5.R | #Author: Daniel Alfredo Hidalgo Chávez
#código: 20132097F
#Item a
#Declaramos e inicializamos variables
minum <- 12
fact <- 1
#Caso inicial y particular
if(minum == 0 || minum == 1){
fact
}else{
while(minum >= 2){
fact <- fact * minum
minum <- minum - 1
}
fact
}
#Item b
unacadena <- "R fever"
index <... |
5b4b09fafba8a1291784c27814b7173ae6df9039 | febc2989044387bfbdd2606b04682716df7e1340 | /R/teste_nao_parametrico.R | 70c5c0d0af67a974dea0e35463a690213465e628 | [] | no_license | Rayanne-matos/Trabalho-final-da-disciplina-de-R | 30f61774f8d4f58a7a18f7d0a6b7711bdfbf90d9 | ec511610dc62bfc2b7381ab69e2f30e1b60ff953 | refs/heads/master | 2021-04-18T17:10:23.156621 | 2020-03-23T22:39:05 | 2020-03-23T22:39:05 | 249,565,580 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,188 | r | teste_nao_parametrico.R | #script para testar a normalidade e rodar anova dos dados do primeiro ano
#criando o objeto
dados <- read.table("data/dados_primeiro ano.txt",header = T)
#lendo os daddos
dados
# subset Fazenda Murici 1 ano
fz1 <- subset(dados,x=="FM")
# testando a normalidade de FM
shapiro.test(fz1$y)
# Teste não paramétrico, ... |
41e0712af296ddca6c71162e6f0d4cac04109df0 | 40acfdd1e20e2bc5bb13f45b97af819ada4f41dd | /pipeline/pds_r_medication_sql_select.R | c267389c761fbce25359df25f5c555b8a5372a4c | [] | no_license | PennTURBO/medication-knowledgegraph-pipeline | b96728be3c9671499b06cba3c49f075299c4940b | c5f562f1b02de4d866256f7aba978b01ddbdbeaa | refs/heads/master | 2023-04-15T02:19:33.954966 | 2021-03-12T19:39:48 | 2021-03-12T19:39:48 | 181,075,722 | 3 | 1 | null | 2021-03-18T18:18:45 | 2019-04-12T20:02:09 | R | UTF-8 | R | false | false | 2,893 | r | pds_r_medication_sql_select.R | # set the working directory to medication-knowledgegraph-pipeline/pipeline
# for example,
# setwd("~/GitHub/medication-knowledgegraph-pipeline/pipeline")
# get global settings, functions, etc. from https://raw.githubusercontent.com/PennTURBO/turbo-globals
# some people (https://www.r-bloggers.com/reading-an-r-file-fr... |
86f0fdb59627febbad2cfcacd2a429b120f86273 | e5c7242d01831977a106b240c15f41330ecffe5f | /bin/setup_orthomcl_summary_gv35_id70.R | c42dd318b284952647312d4dd20b7da1dcc5994a | [] | no_license | roxanahickey/gardnerella | 541bc2e23379cafac5562b69216a7e1db98f3ec6 | 8a5230afc18d806cd41f32b256fda8d4a624457e | refs/heads/master | 2021-01-11T01:02:37.769405 | 2017-07-25T06:14:05 | 2017-07-25T06:14:05 | 22,445,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,807 | r | setup_orthomcl_summary_gv35_id70.R | ## Set up to run orthomcl_summary_part1.R for Gardnerella-only OrthoMCL (70% clustering)
## Roxana Hickey <roxana.hickey@gmail.com>
## Last updated: 2015-05-21
## set up custom inputs and outputs
dir.out <- "results/orthomcl70-gv35"
dir.fig <- "results/figures/orthomcl70-gv35"
## read in ID key containing short and f... |
dc85671f36d6f3a459b9df966b9b37f338bfa63c | 2d039ddb08cedd400cef3440b8a969e47a2c23fc | /P3/datos_temperatura_horarios.R | 962ffe21ca363d5af4f60e36b8cabf9938abcdf9 | [] | no_license | LucianoAndrian/Estadistica2_2019 | ff052aaf8559f5693ee265b5bdf05d8f416a445b | 068283d56dacd0971cb5212d915b9acf11eed72c | refs/heads/master | 2023-04-20T02:58:06.412694 | 2021-05-06T02:46:18 | 2021-05-06T02:46:18 | 195,433,870 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 678 | r | datos_temperatura_horarios.R | #print('setear directorio')
#setwd("C:/Users/Melu/Dropbox/Métodos estadísticos/Practica7")
#cat("\014") #Limpiar consola si lo quiero hacer sin
#función uso CTL+L
#print('setear directorio')
#setwd("C:/Users/Melu/Dropbox/Métodos estadísticos/Practica7")
datostemperaturahorarios<-read.table('datoshorario... |
d001088c44d885e997ace92d65cab485f1efc725 | 9182c0f56e863455af66cf094143ca1afcb1cf57 | /code for plot 4.R | 9e4d913dca668c36cfa0d282025b687e50cd46fb | [] | no_license | pemberton7/ExData_Plotting1 | f4a7af9e32f969ef417133c531be40936fb8c9ad | ad5ae7dae2f687322543bce0bd6254f754c7f1f4 | refs/heads/master | 2020-04-25T15:58:05.346716 | 2019-02-27T11:04:53 | 2019-02-27T11:04:53 | 172,894,375 | 0 | 0 | null | 2019-02-27T10:29:20 | 2019-02-27T10:29:19 | null | UTF-8 | R | false | false | 1,598 | r | code for plot 4.R | ## Set working directory to where the data is stored
setwd("~/coursera")
##Unzip folder
dataset <- unzip("exdata_data_household_power_consumption.zip")
##Read in the file
dataset <- read.csv("household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?", nrows=2075259,
check.names=... |
ab69211cb01ead210e92b549e00c7cffaf8edd90 | 192dd0acad8c23498f5463c0ecec5fec08ab644b | /Course 9/Theory/asdf/server.R | ca4e74d73c4431e4bf628f0233c0aac4a1048028 | [] | no_license | tafuenza/R-Course | adf8606a0fcfa4206813076cd9597d0c7d5af7ea | 6bc7a0f41f206d13fa6a5aee49bcaf184900d128 | refs/heads/master | 2020-09-21T09:37:34.025642 | 2020-06-05T20:38:16 | 2020-06-05T20:38:16 | 224,723,819 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 890 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define server logic required to draw a histogram
shinyServer(function(input, output, ... |
770c8978a001b69f46671392a4652e038c967e31 | 7ef9e8be9e82440db096f0a0a35b9834327b707f | /man/create_tidy_table_one.Rd | d0c881e5ab8578498a687a21334380cfd06dbadf | [
"MIT"
] | permissive | emilelatour/tidytableone | 8b455a0db3688d246edbb303d4d7447a8f86eaf0 | adc4b925b708bf02adac47a2e3fc80c7a6c5511c | refs/heads/master | 2022-06-02T12:50:42.601604 | 2022-05-16T21:57:10 | 2022-05-16T21:57:10 | 208,478,965 | 3 | 2 | NOASSERTION | 2019-09-28T23:17:22 | 2019-09-14T17:41:35 | R | UTF-8 | R | false | true | 3,231 | rd | create_tidy_table_one.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create-tidy-table-one.R
\name{create_tidy_table_one}
\alias{create_tidy_table_one}
\title{Tidy table one}
\usage{
create_tidy_table_one(data, strata = NULL, .vars, na_level = "(Missing)", ...)
}
\arguments{
\item{data}{A data frame or tibble ... |
75e94a65218dfe60a11ab30090aed7c7c86f8c68 | 3fe1a27ecb52798609e99b5c7a2af1b95166c03d | /man/darkpix.Rd | 3c1886a269d2b7f4045f197cf140af32998efc72 | [] | no_license | mbedward/ecbtools | 6cbbfbe3c18734b75c42f0bd292aeab69f7bee69 | 16c5df2857f83fadfaac35447e21388daa69bfdb | refs/heads/master | 2023-02-16T19:29:39.773238 | 2021-01-17T20:26:25 | 2021-01-17T20:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,594 | rd | darkpix.Rd | \name{darkpix}
\alias{darkpix}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Calculates percentage of dark pixels in an image.
}
\description{
This function takes a colour image file, typically a JPEG, and counts the percentage of pixels below a certain darkness threshold. By default, only a c... |
1e2b68499ac387ecbd688c8910e659c823b75b03 | 1dbe1bc1097ee5c9ea3d196b50b5708383b3fb5a | /R/libGraphics.R | 2c019efd41e50823f954920bbe4f02ba9ec166b1 | [] | no_license | cran/ClickClust | a3ed1adaafc1f296fc1d2ec123e58d963a7ab4e6 | 5e68e8aca28f96bca2d2c26141ce84f8dd4d8a97 | refs/heads/master | 2021-01-19T00:14:56.577695 | 2016-10-23T00:20:21 | 2016-10-23T00:20:21 | 19,249,803 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,759 | r | libGraphics.R |
calc.props <- function(y){
sums <- apply(y, 1, sum)
sums <- ifelse(sums == 0, 1, sums)
p <- sweep(y, 1, FUN = "/", sums)
return(p)
}
calc.color <- function(colors, levels, x){
z <- ifelse(x == 0, 1, which(x <= levels)[1]-1)
return(colors[z])
}
click.plot <- function(X, y = NULL, file = NULL, id, state... |
c4a307c9e102cd5e3ff933e2195236c8149df096 | dc5ffded3fc6bfa452e7963ebfbe3c21ace8427c | /Skrypty/pkg_Application/api_Application.R | 311c73951e9c39d22b1bb69b60477e206a990458 | [] | no_license | frdanconia/keras_and_shiny | 85ba687e26fcedf1864fc71eec82467409a223e5 | fe71d32cf7df3d28d84c1b5f371e49fbe7bc9508 | refs/heads/master | 2022-03-29T11:48:51.609724 | 2020-01-27T23:00:21 | 2020-01-27T23:00:21 | 236,614,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,651 | r | api_Application.R | #' @export
runApplication <- function(ui, server, port) {
# INPUT: layout of the page, server logic function, port on localhost to run the app
# OPERATIONS: run the app on selected port
# OUTPUT: none
app <- shinyApp(ui = ui, server = server)
runApp(app, port = port)
}
#' @export
createTensor <- function(im... |
bc4f0d614df485311a175fb172f8c78359caf54f | 8a259d840c6622076f86df16c492d6d138b3e58d | /logistic_regression/GermanCredit.R | 36a9d2e230839574500464e102d8e61b44010266 | [
"CC-BY-4.0",
"MIT"
] | permissive | james-m-foster/high-order-langevin | 98d4191ff024a191864c048c3d38f0f410fc988f | e97d6fe55d5d0b783b45de6bc46d5535c6aaf9f3 | refs/heads/master | 2022-11-04T08:12:34.357554 | 2022-11-01T10:24:48 | 2022-11-01T10:24:48 | 208,257,498 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,374 | r | GermanCredit.R | library(unbiasedmcmc)
set.seed(1)
# Load dataset
data(germancredit)
X <- scale(X)
X[,1] <- rep(1, nrow(X))
n <- nrow(X)
p <- ncol(X)
design_matrix <- unname(X)
tdesign_matrix <- t(design_matrix)
response <- Y
new_response <- 2*response - 1 # map to {-1,1}
nsamples <- nrow(design_matrix)
dimension <- ncol(design_ma... |
deaf9e4ff0dd616ad6f2e2bc628d6b018bc5100f | 363d5945d553cec4c04a5cc0409cda15f4863fd9 | /sicegarPerformanceSimulations/sicegarExtPerformanceTest_part1P.R | 4a476fed6d687b42c26a4293de1d8c0ed6ecd03f | [] | no_license | wilkelab/sicegar | ac4d8db6a04bd38c4f1e12c34008ee9fcd2c6c06 | 08bf9c45d2b32554168fe21e673015122e3c37e9 | refs/heads/master | 2023-02-09T21:06:44.677219 | 2021-05-08T00:57:47 | 2021-05-08T00:57:47 | 48,201,374 | 8 | 4 | null | 2023-01-31T01:42:12 | 2015-12-17T22:23:14 | R | UTF-8 | R | false | false | 13,930 | r | sicegarExtPerformanceTest_part1P.R | # The Sicegar Noise Analyze
# Scanned Parameter different cond.
# Initial distributions that needs to be predicted: sigmoidal / double sigmoidal 2
# noise types: additive / multiplicative ... |
d91df53445a2055358c85a1487939a32226e2442 | 5dab4ac68f4bef4ce0ff8ba361397f740311fabd | /requirements.R | d32d0f4a2f9930f69fe013775bf257ff5081d25a | [] | no_license | zmalosh/MaloshSoccer | 2ca2c234e5758413aab8111908f698288b7448cd | 29d28587397a22171ac0ab378312d4d289afe83c | refs/heads/master | 2020-06-16T23:06:47.331988 | 2019-10-08T03:44:46 | 2019-10-08T03:44:46 | 195,728,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 69 | r | requirements.R | require(tidyverse)
require(jsonlite)
require(httr)
require(lubridate) |
1c35ba29ee17f3c7d30d55b6c16ca293538aec59 | a3b22019c25f279739d04d99f3e716e88aaa1a73 | /plot2.R | 0837860d6a53143e4316b124b1af7b82e6d0cb35 | [] | no_license | joeswaminathan/ExData_Plotting1 | 95f3daa860c05b3be1ec2f329bb7d1e2fba576f9 | b5c7b036d5dc19baf0b16c50d5e06d8101af7133 | refs/heads/master | 2020-05-29T11:44:35.973156 | 2015-11-08T15:25:53 | 2015-11-08T15:25:53 | 45,773,875 | 0 | 0 | null | 2015-11-08T09:12:54 | 2015-11-08T09:12:53 | null | UTF-8 | R | false | false | 830 | r | plot2.R | plot2 <- function()
{
library(datasets)
library(data.table)
fileurl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileurl, destfile = "household_power_consumption.zip")
unzip("household_power_consumption.zip")
DT <- read.csv2("househo... |
8ebd7b8a614f93c928dda9ea71f569acfe80f8d9 | 2001bb778b621ff646b2951c3b9e6995f8d40c2f | /plot_stats_density.R | cc8bb587441cd5b0a20d2480a62d4fe21b986a0a | [] | no_license | emelaas/landsat_ARD | 15d8238ec04026634eb8a81207cbf33a7a682202 | b2c4beb007349cb80d42be52e3df87e4b38645e7 | refs/heads/master | 2021-04-29T23:46:20.607859 | 2018-08-28T21:56:29 | 2018-08-28T21:56:29 | 121,563,656 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,252 | r | plot_stats_density.R | below5 <- raster('/projectnb/modislc/projects/landsat_sentinel/ARD/tifs/below5_sum.tif')
below5_vals <- getValues(below5)
w1 <- which(below5_vals<=2)
w2 <- which(below5_vals>2 & below5_vals<6)
w3 <- which(below5_vals>=6)
setwd('/projectnb/modislc/projects/landsat_sentinel/ARD/tifs')
in_dirs_tile <- list.files(path=get... |
b69572f68c6dc90f257e9e26c7fb3c63715d6cad | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/jvnVaR/examples/jMCPri.Rd.R | 8a9fea3cabb480efcea7add2525dd7b4ec873698 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 221 | r | jMCPri.Rd.R | library(jvnVaR)
### Name: jMCPri
### Title: Monte-Carlo Price Simulation
### Aliases: jMCPri
### Keywords: jVaR jPrice jReturn
### ** Examples
s0 <- 100
mu <- 0.02
sigma <- 0.1
m <- 1000
jMCPri (s0, mu, sigma, m)
|
09794a1546b29700320fe099af47022a4566e4c4 | 9319d9ef8bea2c2f4f3e95be2303a1d8994ea4b5 | /plot3.R | a5bf04391462a7fe0cfbc9f28e35c75d0ba31973 | [] | no_license | mlk/ExData_Plotting1 | 25b7795610f5859d66ae477cabc38678fc9d6783 | 4b2a90fcb155b4cd0d90424ca059b68f4f6d03d2 | refs/heads/master | 2021-01-15T14:50:15.126813 | 2015-06-07T06:55:01 | 2015-06-07T06:55:01 | 36,880,589 | 0 | 0 | null | 2015-06-04T15:57:31 | 2015-06-04T15:57:31 | null | UTF-8 | R | false | false | 608 | r | plot3.R | source("load_data.R")
data_set <- load_data()
png("plot3.png", width = 480, height = 480, units = "px", bg='transparent')
plot(data_set$date_time, data_set$Sub_metering_1, col="Black", type="l",
ylim=range(data_set$Sub_metering_1, data_set$Sub_metering_2, data_set$Sub_metering_3),
xlab="", ylab="Ene... |
55f4aaa5e4642f30c50bf9a509259cda87ac936f | 364d3c7f7b87095baadbbacefb69a0a7c107c87c | /man/get_binary_corr_mat.Rd | e64b2c3b503cd6ee9508d21304a0a44e74299ec7 | [
"MIT",
"CC-BY-4.0"
] | permissive | SchlossLab/mikropml | 32c9d0cd7351d667b2fc7522eabdcfb73e28d699 | 3dcc9bc0c49e0e65714fd9a1e0045a749ada76e8 | refs/heads/main | 2023-06-11T15:23:19.409104 | 2023-04-15T17:02:49 | 2023-04-15T17:02:49 | 226,981,416 | 41 | 12 | NOASSERTION | 2023-08-21T15:44:37 | 2019-12-09T22:37:38 | R | UTF-8 | R | false | true | 1,136 | rd | get_binary_corr_mat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/corr_feats.R
\name{get_binary_corr_mat}
\alias{get_binary_corr_mat}
\title{Identify correlated features as a binary matrix}
\usage{
get_binary_corr_mat(
features,
corr_thresh = 1,
group_neg_corr = TRUE,
corr_method = "spearman"
)
}
\a... |
b313cb6cf4fc84125ac67f0c20873ee7537dc78f | 4fc55e270331cf46982bf9cb8ee8502a36ec2a7b | /prediction.R | 2df8d6599466b919ccf7df9bfc9d079deb653d6a | [] | no_license | rggeorge/cfa | 686a89096de7145c263b86f0462d4ad5443c9c76 | 9a84c48fc00e60f6dd56d46df2ba75fd7fd332e8 | refs/heads/master | 2016-08-05T09:46:31.649821 | 2014-07-24T05:11:10 | 2014-07-24T05:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 198 | r | prediction.R | library(caret)
dat <- read.csv("Violations-2012.csv")
dat$date <- ymd_hms(dat$violation_date)
pred <- function(viol_type){
dates <- dat$date[dat$violation_type=="Refuse Accumulation"]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.