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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fd1a31d54ea1ade4810eddc77b835047cb1f3c57 | d234c1625aad71230609b61fad75de61c263b84c | /functions/download_wnv.R | 52e0c820b5ec76bb7dafa57c311d2cb9362b3012 | [] | no_license | geneorama/wnv_map_demo | 1cf355a97264b59fbee47beab38a8311eaeaa3f6 | 1d16e29441071cd5c3494763f0981a63bec11aeb | refs/heads/master | 2020-12-25T14:13:42.666594 | 2017-10-16T16:24:49 | 2017-10-16T16:24:49 | 65,930,491 | 4 | 4 | null | null | null | null | UTF-8 | R | false | false | 636 | r | download_wnv.R |
download_wnv <- function(infile = "data/wnv.csv",
inurl = "https://data.cityofchicago.org/api/views/jqe8-8r6s/rows.csv?accessType=DOWNLOAD"){
if(!file.exists(infile)){
download.file(url = inurl, destfile = infile)
}
dat <- data.table::fread(infile)
setnames(dat, tolowe... |
327d1793dc053f5ab832526d43a4c7c6a9f38bd3 | 2a2d3489886a0e4bd5b76ca726adc3b7f44386cb | /shiny/MagicWeb/ui.R | 9145377d373d7b1d7b75ed19951f3ad65af2dc2e | [
"MIT"
] | permissive | liufan-creat/magic | 68d51fdf847dda49500f5a963d4fce74198c9462 | a672b94c9262335cbec68e6817cd4de8eb701c65 | refs/heads/master | 2021-10-23T16:11:02.362069 | 2019-03-18T18:29:45 | 2019-03-18T18:29:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,389 | r | ui.R | # Copyright (C) 2017 Dana-Farber Cancer Institute Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program... |
4e0a54d1261bf92da116913ef8c7991daea453f4 | 64b0d18eb0e78a963ef19599c2dec448da6603d3 | /man/test_engine.Rd | 69fa2273731f1593c8856a69ecde265ec42e0859 | [
"MIT"
] | permissive | Chicago-R-User-Group/2017-n4-Meetup-Syberia | 0bb8cf04112ba236e373e89b01db8f92b857b000 | dc248c8702fc851ae50335ad6406f14e414c0744 | refs/heads/master | 2021-01-01T04:22:57.806786 | 2017-07-14T04:19:50 | 2017-07-14T04:19:50 | 97,166,590 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,293 | rd | test_engine.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/test.R
\name{test_engine}
\alias{test_engine}
\title{Run all tests in a syberia project or engine.}
\usage{
test_engine(engine = syberia_engine(), base = "test",
config = file.path("config", "environments", "test"),
ignored_tests = ignore... |
fb8b7e396872589cd6cdde713a97e24aedc4b2e3 | a91c8d6928115e7ba12c76db197bc61fff3eab85 | /Visuals/Scatter.R | 7dfbb2611c6248f7cfb7c0015d7ec97cd79790ef | [] | no_license | no33mis/MSc-Dissertation | f308799cdbce8f780bcbee4dbb7ee7145b286f6e | f7d5676872d2d7388a556a79a79e3a8aa62e480f | refs/heads/master | 2022-11-30T19:35:02.659772 | 2020-08-12T04:02:48 | 2020-08-12T04:02:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,631 | r | Scatter.R | ######################################## VISUALISING THE RESULTS #############################################
### SCATTERPLOTS
##############################################################################################################
##CLEAR R MEMORY
rm(list = ls())
##call packages
library(ggplot2)
library(ggpub... |
35bd948b21b1660f64c57ec2cb4f40baf4df8a64 | 9cbc8d7ae4c57f4948d47f11e2edcba21a1ba334 | /sources/modules/VEPowertrainsAndFuels/man/calcAverageFuelCI.Rd | c6e6bb650450b57047ec167fbd47ff9c6330a1ca | [
"Apache-2.0"
] | permissive | rickdonnelly/VisionEval-Dev | c01c7aa9ff669af75765d1dfed763a23216d4c66 | 433c3d407727dc5062ec4bf013abced4f8f17b10 | refs/heads/master | 2022-11-28T22:31:31.772517 | 2020-04-29T17:53:33 | 2020-04-29T17:53:33 | 285,674,503 | 0 | 0 | Apache-2.0 | 2020-08-06T21:26:05 | 2020-08-06T21:26:05 | null | UTF-8 | R | false | true | 2,192 | rd | calcAverageFuelCI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CalculateCarbonIntensity.R
\name{calcAverageFuelCI}
\alias{calcAverageFuelCI}
\title{Calculate average fuel carbon intensity of a transportation mode and type}
\usage{
calcAverageFuelCI(FuelCI_, FuelProp_, BiofuelProp_)
}
\arguments{
\item{Fu... |
317b1d30bddb1ac729e411ad2c0b467748ac026b | dafcf71d115e09846d3f901af97e19c0b56abc9e | /2_pops_2.R | 1d8e77c81199d9c8d492e0a0d132f4ad505a3f5e | [] | no_license | mgrundler/Sonora-Code | 4a4e78cb03357651119fd0e382ce39f33537d64a | 3ea23b40e95780a610d3badc3fd117ebb2801b1c | refs/heads/master | 2020-05-20T04:31:08.222926 | 2015-09-29T14:23:44 | 2015-09-29T14:23:44 | 29,192,278 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 27,705 | r | 2_pops_2.R | # I made most of the chunks into indpendent functions so that we can run them on as many
# populations as we want
start.pop <- 50
LF <- 0.3
percent.breed <- 0.5
carrying.capacity <- 2000
baseAttack <- c(.5, .5, .5, .5)
n.off <- 4
s1=c(1,.1,.1,.1)
s2=c(.1,1,.1,.1)
s3=c(.1,.1,1,.1)
s4=c(.1,.1,.1,1)
sim <- rbind(s1,s2,... |
72e3089b262523734ee9d3129d553fd417a8a74a | 303cec757865d4187456554b6c8fff032e6ada19 | /inst/tests/testthat/test-out_faux_InitChoose.R | 7b2548ec9d1c2f343ac6a90598868dece9f0c2dd | [
"MIT"
] | permissive | shamindras/ars | 591363b88d56ff2540996b7a4ba9c8d311baa146 | d76b9d0f60743212beba2377729c25548c3f9d52 | refs/heads/master | 2020-12-26T04:16:03.406484 | 2015-12-17T19:55:02 | 2015-12-17T19:55:02 | 47,591,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,189 | r | test-out_faux_InitChoose.R | context("test-out_faux_InitChoose: Check Initially
chosen 2 sample points are reasonable")
test_that("test-out_faux_InitChoose: Outputs are Validated", {
# Test 1 - Check that we correctly sample 2 points as a default
set.seed(0)
g <- function(x) dnorm(x = x, mean = 0, sd = 1) # valid function
Dvec <... |
1fff341911feae15827ba31679d4a881022757f0 | ab5b7b9030cf9f0aa7ca85ecb76182f7efbb680e | /run_analysis.R | 8482da80350863c3195df36108836555c9ded8a9 | [] | no_license | ptomasa/Getting-and-cleaning-data | 660236c617f52dd095765e6108b4cefe244ed6ca | 63b132e500296d7bd5557e2812432b43bf54cb64 | refs/heads/master | 2019-01-02T04:55:14.307070 | 2015-01-25T21:07:00 | 2015-01-25T21:07:00 | 29,830,620 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,984 | r | run_analysis.R | # set the working directory (containing .txt files)
setwd("/Users/MariaRamos/Documents/Coursera/Getting and cleaning data/project")
# FIRST STEP ################################################################
##### Merges the training and the test sets to create one data set. #########
##############################... |
0815cb58e0ff8cf0bc64f9d4103ac3545dfc18ab | c1f6c0c5e8760cdf215ea00a033742d5d1a7c6c0 | /users/oscarm524/exploring.R | 599e1aede30ee98a344fb2382b71bf7007afd65f | [] | no_license | abhicc/dmc2016 | 0cc0e547ca6fac568138cefa7fab396d2d841c81 | ab2d68168f4f40a6816fba9420780e995afee7a2 | refs/heads/master | 2021-04-06T01:55:57.398373 | 2016-08-10T18:18:13 | 2016-08-10T18:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 144 | r | exploring.R | ####################
## Exploring Data ##
####################
rm(list=ls())
data=read.csv(file="orders_class.txt",header=T,sep=";")
head(data) |
b4c4e040aedc56cb75b3a9b56278459a0b0a6878 | 7b2d324ed7b9985957d62eddb818869350463413 | /man/compute_growth.Rd | 366cf1ab0777d5f5bfefeffe089d38727cf73255 | [
"MIT"
] | permissive | rudeboybert/forestecology | a0fe7168cb18841ec953e22342778542ed6ab9c3 | cbae4d97155ee8d07f245ec17c082080b894b960 | refs/heads/master | 2023-05-23T20:55:54.097983 | 2021-10-21T12:27:39 | 2021-10-21T12:27:39 | 144,327,964 | 12 | 3 | NOASSERTION | 2021-10-02T14:06:24 | 2018-08-10T20:09:00 | TeX | UTF-8 | R | false | true | 1,191 | rd | compute_growth.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_processing_functions.R
\name{compute_growth}
\alias{compute_growth}
\title{Compute growth of trees}
\usage{
compute_growth(census_1, census_2, id)
}
\arguments{
\item{census_1}{A data frame of the first census.}
\item{census_2}{A data f... |
5f0df1254970e3b133d4d5e86f8b2a124a0c50ec | e2701f16b4b5b9791e6c587716fe7436caf47d7e | /Network examples/network.R | 555cb4403aea426b3fc1c9460c9b80a01f128970 | [] | no_license | itaguas/Mathematical-modelization-of-disease-propagation | 5bb11e08d98aa683c0d4bfe7edc7e06108abfc68 | bdd0a3400a815169e30c56f606266ff4ad1cffdd | refs/heads/master | 2023-01-04T13:46:48.859793 | 2020-10-02T10:44:17 | 2020-10-02T10:44:17 | 300,036,427 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,552 | r | network.R | library(ggplot2)
setwd ("D:/Users/Nacho/Desktop/TFM/conectivity/network")
data <- read.csv("components_g.txt", header = T, sep = ";")
data$i <- NULL
head(data)
probs <- unique(data$prob)
mean <- c()
for (i in probs) {
mean <- c(mean, mean(subset(data, data$prob == i)$comp))
}
data <- data.fr... |
e554d095546e9ac6d249157de9d0ef586c9adf7c | 6fb04083c9d4ee38349fc04f499a4bf83f6b32c9 | /tests/next/test_operations.R | 9411daae18dc39ae77bed52de599870181e780d4 | [] | no_license | phani-srikar/AdapteR | 39c6995853198f01d17a85ac60f319de47637f89 | 81c481df487f3cbb3d5d8b3787441ba1f8a96580 | refs/heads/master | 2020-08-09T10:33:28.096123 | 2017-09-07T09:39:25 | 2017-09-07T09:39:25 | 214,069,176 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 551 | r | test_operations.R |
## gk: these need fixing!!!!
## Testing M_Subtraction
test_that("-: vector and matrix subtraction, integer and double",
{
M1 <- initF.FLMatrix(n=5,isSquare=TRUE)
M2 <- FLMatrix("tblmatrixMulti", 5,"MATRIX_ID","ROW_ID","COL_ID","CELL_VAL")
M2R <- as.matrix(M2)
V1 <- as.FLVector(sample(1:100,10))
V1R <- as.vec... |
b56c01f458608474c8c96335e469d3f7f8ba76fb | b9e54258e540f0a0447045729bb4eecb0e490426 | /Bölüm 19 - Makine Öğrenmesi II - Regresyon Modelleri/21.16 - Regresyon - Regresyon Uygulama VII - Mean Absolute Percentage Error (MAPE) .R | 8991f5d10390a67d47104f7902364172815dc823 | [] | no_license | sudedanisman/RUdemy | b36b67b9e875206a5424f33cc784fd13506f8d8d | 28a9814706873f5d2e5985e4ba795354144d52c4 | refs/heads/master | 2023-01-30T01:54:26.321218 | 2020-12-14T11:36:00 | 2020-12-14T11:36:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,937 | r | 21.16 - Regresyon - Regresyon Uygulama VII - Mean Absolute Percentage Error (MAPE) .R |
### Regresyon Uygulama 1 - Train ve Test Ayırma
model_data <- kc_house_data[c("price" ,"sqft_living")]
View(model_data)
# random sample
set.seed(145)
sampleIndex <- sample(1:nrow(model_data) , size = 0.8*nrow(model_data))
trainSet <- model_data[sampleIndex , ]
testSet <- model_data[-sampleIndex , ]
nrow(trainS... |
6c9f16808367a426cc6aa34f3160a4d5d5ee663e | d859174ad3cb31ab87088437cd1f0411a9d7449b | /autonomics.support/man/is_max.Rd | 3215e50390cde20f45a3f68eae0832cb68ccd438 | [] | no_license | bhagwataditya/autonomics0 | 97c73d0a809aea5b4c9ef2bf3f886614eceb7a3c | c7ca7b69161e5181409c6b1ebcbeede4afde9974 | refs/heads/master | 2023-02-24T21:33:02.717621 | 2021-01-29T16:30:54 | 2021-01-29T16:30:54 | 133,491,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 304 | rd | is_max.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_max.R
\name{is_max}
\alias{is_max}
\title{Is maximal}
\usage{
is_max(x)
}
\arguments{
\item{x}{numeric vector}
}
\value{
logical vector
}
\description{
Is maximal
}
\examples{
x <- c(A=1,B=3,C=2,D=3, E=NA)
is_max(x)
}
|
ad9d4c1de15394155b42fe7a1b7d5c1e6153f54d | e5604981a0ae5102f33e58218946e625e1e25fd3 | /R/sp_tidiers.R | 5e13c82b334aed96d9577e1c35203f00bd06dd89 | [] | no_license | talgalili/broom | d77633d58ba81ddae2e65328fc487b1943e91020 | 8bb9902b62a566ec2b7a4c37a36c32ef4a6ecfb6 | refs/heads/master | 2021-01-12T09:19:56.804074 | 2018-06-14T18:40:33 | 2018-06-14T18:40:33 | 81,334,167 | 0 | 1 | null | 2017-02-08T13:44:59 | 2017-02-08T13:44:59 | null | UTF-8 | R | false | false | 2,751 | r | sp_tidiers.R | #' tidying methods for classes from the sp package.
#'
#' Tidy classes from the sp package to allow them to be plotted using ggplot2.
#' To figure out the correct variable name for region, inspect
#' `as.data.frame(x)`.
#'
#' These functions originated in the ggplot2 package as "fortify" functions.
#'
#' @param x `Spat... |
4c477ea6c0a48f7b8c3b712d5070fda795b9dc37 | 7f28759b8f7d4e2e4f0d00db8a051aecb5aa1357 | /R/Preliminary_analysis/Control_workflow.R | de1a085859014a44f3fea26a144b809a6b9aa946 | [] | no_license | DataFusion18/TreeRings | 02b077d7ed2a5980ae35be7c04a60c28f0ba3928 | e57f6ee4d774d2bda943f009b148e6e054e6c1d1 | refs/heads/master | 2023-03-29T02:44:34.186155 | 2021-03-31T00:01:13 | 2021-03-31T00:01:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,493 | r | Control_workflow.R | # This is a script that runs the bootstrapped climate correlations over all sites & all woood types:
library(dplR)
# ------------------------------load all the files needed:
wood <- "WW"
#read in whole ring width file for site
#Bonanza <L- read.tucson("./cofecha/BON_out/BONall.rwl", header = T)
#for EW
if(wood == "EW... |
2447031c38b20f3f3ba3bb293797ecb8b496df3c | 8e66d17601c1435da0f556d610fb238e8b4416bf | /cachematrix.R | 309b428ce4464e9b9231f25e7d10df6b21d941b2 | [] | no_license | pisharod/ProgrammingAssignment2 | 73a4f6495bd5a29167c88c57b5686b5a097711d7 | ef54ecb0032bc07bd7324b4473f45fc2da3572f9 | refs/heads/master | 2020-12-25T08:38:15.149097 | 2015-03-22T18:44:16 | 2015-03-22T18:44:16 | 32,365,502 | 0 | 0 | null | 2015-03-17T02:06:29 | 2015-03-17T02:06:29 | null | UTF-8 | R | false | false | 4,136 | r | cachematrix.R | #====================================================================================
# cachematrix.R
#------------------------------------------------------------------------------------
# This file contains 2 main functions, makeCacheMatrix and cacheSolve. The former
# creates a special variable that contains a list ... |
92fe4e305e5ff4a40ae0b4554e49551bb24f8764 | f671065f3668f945bd395afc00b1032437ea5bcf | /R/meta.R | 00608d2dc8bece65e486313819547bf2bf3f8493 | [
"MIT"
] | permissive | kashenfelter/vueR | 925ce23b05541668a4abc43066305598b537a03c | 3f2a128c69470ae25a09d387c71bba2299635f66 | refs/heads/master | 2021-07-10T21:38:31.396200 | 2017-10-11T02:21:26 | 2017-10-11T02:21:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | meta.R | #'@keywords internal
vue_version <- function(){'2.4.4'}
|
ec6faa80304c82aad3686c97d000b664e3db95ae | 031c7679665929846b7093738a098e31c009c5f7 | /IH_Mercy_Analysis/L1_MASTER_ID.R | 85389a919487ad8b3453cf6a8552de1b74236966 | [] | no_license | mrp011/interactive_health | 04b1133af8a4e5456097875207c8a5c28ac23ecb | 55d441cb53487a9d282dde5fd5e10d94394b8f6d | refs/heads/master | 2021-01-22T01:11:00.752129 | 2017-10-20T19:22:20 | 2017-10-20T19:22:20 | 102,205,781 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 11,173 | r | L1_MASTER_ID.R | ############ Level 1 #############
### Reads in raw census information to create master ID's
### Input Tables: raw_census
### risky_zips
### Output Tables: id_bridge
### human_flags
### Author: Michelle Powell
### Sourced By: master_id()
###########################################
#... |
ee891c8ac48f70e4e8576e197433d9e47b72811f | db357ce293c701f679c90e0733c692f8c0518ec2 | /man/score_aus.Rd | 6d847c91a947eb962ebc8fab8e41ed459f1b910e | [] | no_license | d-bohn/facereadeR | 2daa98519a7f921f268772cc8e589e08a58a4b35 | 2824408902c5d7159dfb21c367668428a92594e3 | refs/heads/master | 2021-08-28T21:06:17.356219 | 2021-08-19T05:36:33 | 2021-08-19T05:36:33 | 56,341,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 324 | rd | score_aus.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_clean.R
\name{score_aus}
\alias{score_aus}
\title{Score Action Units numerically}
\usage{
score_aus(data)
}
\arguments{
\item{data}{}
}
\value{
Dataframe with AUs recoded into numeric values.
}
\description{
Score Action Units numericall... |
15d42c5b3c3e0c2daf55ae0cad1893f0d1710b4e | 53204f71c6bc42f396a6a3279f09cac73c97fb0a | /finalReport/docksideMonitoring2019/Table1_subset_for_Carrie.R | 2739a74ac8c01506ec18da436b3996b1b9773bd1 | [] | no_license | Oyster-Recovery-Partnership/Ereporting | 21f503d7addb3703ca2688c8cb0ff61f18da3d10 | a3a09a8cd47acacfe2ad796d66c94bc7dd789bed | refs/heads/master | 2022-05-13T01:29:30.661972 | 2022-03-18T21:16:19 | 2022-03-18T21:16:19 | 209,818,783 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 17,830 | r | Table1_subset_for_Carrie.R | # -------------------- #
# This script is for the roving monitor final report tables and figures
# -------------------- #
# -------------------- #
# load packages
# -------------------- #
require(dplyr)
require(ggplot2)
library(readxl)
library(tidyr)
library(lubridate)
library(utf8) #unsure whats up with this
libr... |
dd645c3e2d8984cd56905b4c28116c4feaa90c66 | 29585dff702209dd446c0ab52ceea046c58e384e | /msos/R/bothsidesmodel.chisquare.R | 70acc256c692dfb2cad60fd7b9f6716cad68d38b | [] | 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 | 425 | r | bothsidesmodel.chisquare.R | bothsidesmodel.chisquare <-
function(x,y,z,pattern0,patternA=matrix(1,nrow=ncol(x),ncol=ncol(z))) {
bsm <- bothsidesmodel(x,y,z,patternA)
which <- patternA*(1-pattern0)
which <- c(t(which)) == 1
theta <- c(t(bsm$Beta))[which]
covtheta <- bsm$Covbeta[which,which]
chisq <- theta%*%solve(covtheta,theta)
df ... |
944a066cf4b78e188dc0de8242ed9bef4ff550e1 | c16e3a0b0fd3b017242dcf1f16078b528d227abe | /man/deleteGP.Rd | 4ecacd4995f8d4a543bc5586a6b3cbbc5e409dc5 | [] | no_license | cran/laGP | 906f6d217c7adbcaf2a06dada9cf633f9b28c580 | e2ad6bdf6bf9864571a4cce063be3fe10b842848 | refs/heads/master | 2023-03-19T09:20:02.211617 | 2023-03-14T07:30:06 | 2023-03-14T07:30:06 | 17,696,958 | 8 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,073 | rd | deleteGP.Rd | \name{deleteGP}
\alias{deleteGP}
\alias{deleteGPs}
\alias{deleteGPsep}
\alias{deleteGPseps}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Delete C-side Gaussian Process Objects
}
\description{
Frees memory allocated by a particular C-side Gaussian process
object, or all GP objects currently... |
3dea36a3f38187b646458dd764d437ecf6c458ba | 8d29c9f8faa03eb55764ac9d2c60499c6b16b48c | /man/getReadClass.Rd | 43f0e5566f6f3adcb22b4894a7675f219482b18e | [] | no_license | jsemple19/EMclassifieR | fd2671a5be8ac97cc67e20c94afe97223f44b0ba | a3626d02d5c73046073f04dbdba4b246a7278bcc | refs/heads/master | 2022-08-10T06:27:20.721490 | 2022-08-08T11:34:43 | 2022-08-08T11:34:43 | 198,430,374 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 683 | rd | getReadClass.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EMbasic.R
\name{getReadClass}
\alias{getReadClass}
\title{Extract class info from dataOrderedByClass}
\usage{
getReadClass(dataOrderedByClass, readNames)
}
\arguments{
\item{dataOrderedByClass}{A matrix of methylation frequency or bin counts ... |
f734aa9093ef6a403ff0f45c3df8e164e284fe54 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hypervolume/examples/hypervolume_project.Rd.R | 1ff14a41cd56855eba2b5812daefef6fc73cbbbd | [] | 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 | 1,914 | r | hypervolume_project.Rd.R | library(hypervolume)
### Name: hypervolume_project
### Title: Geographical projection of hypervolume for species distribution
### modeling, using the hypervolume as the environmental niche model.
### Aliases: hypervolume_project
### ** Examples
# example does not run to meet CRAN runtime guidelines - set TRUE to ... |
d5bc3d3af14cb681c220dad8e536aca0856e4144 | 7a3792da66c63aa81c671469656ac19fe8f9451c | /shiny/nwscode_to_rivgroup.R | 5295f284865194b6726be3fb0cceaaf6c46d4043 | [] | no_license | dbo99/19nohrsc | 82f3bd62e7c71c1a776dee3f4ea15ec52b111fef | cdf8df319f5027bd17532613a87527c257cb958e | refs/heads/master | 2023-03-07T16:41:36.167709 | 2020-01-08T15:59:10 | 2020-01-08T15:59:10 | 177,946,572 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 864 | r | nwscode_to_rivgroup.R | spdf_entbasins <- readOGR("basins.kml", "cnrfc_09122018_basins_thin")
#spdf_basinzones <- readOGR(".","cnrfc_zones_wgs84aux")
#pnts1 <- readOGR("riverFcast.kml", "![CDATA[River Guidance <br><a href="http://www.cnrfc.noaa.gov/rfc_guidance.php">CNRFC River Forecast Web Page</a>]]")
# Convert spatialpolydf to an sf obje... |
0024965464e464816258f24babc0cb4dd428028e | 4d853f62cf346a624789859d3e81e211d422700a | /UNIGE_ovitrap/transform_ovitrap.R | 3d6554f56dca790b40c5731c2b351ceea8ec6868 | [] | no_license | rodekruis/epidemic-risk-assessment | fda6a3f502943a46ee999506f910ed0369b91342 | ca9f5048d9d4088bd0e9acd3d2c77b07194deaf5 | refs/heads/master | 2020-08-02T06:51:41.256212 | 2020-07-20T12:00:11 | 2020-07-20T12:00:11 | 211,268,464 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 878 | r | transform_ovitrap.R | #R script to transform the ovitrap data in bi-weekly averages
#In case of any questions you can send an e-mail to fleur.hierink@unige.ch
#libraries
library(dplyr)
library(lubridate)
#fetch data from personal directory
#load in ovitrap data
ovitrap <- read.csv("/Users/...../....csv")
#convert the date column into a d... |
d792cfa1e6ccd0a08f622649d732b1be08d4ae51 | 4ea9492221d48e89eb9c29b5fa7cc5610ad4138e | /man/make_filename.Rd | 09d76c8e53005c2732432cc66c02e4c59f888ff8 | [] | no_license | krinard/MSDRFars | 0329b35086238d00f8c8e3a2226a616719d9b535 | 5ccddb857c5dee6eea54a8363c5260cdfae53234 | refs/heads/master | 2023-02-12T02:20:12.571823 | 2021-01-11T15:14:36 | 2021-01-11T15:14:36 | 326,797,515 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 542 | rd | make_filename.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars.R
\name{make_filename}
\alias{make_filename}
\title{Create a string to use as a filename for bz2 compressed csv file for accident data in the Fatality Analysis Reporting System.}
\usage{
make_filename(year)
}
\arguments{
\item{year}{to u... |
8bcd0e05799e3a68fd85f3f922f51f8aa9364b97 | c144e367b414e28998ae6c07c7e86048a940a352 | /plot3.R | 9475dd557c4c3a873990a1f99cafadad6ff2be70 | [] | no_license | attuquayejames/ExData_Plotting1 | b536c6eec9535c7cc7ec208e7ac436b8af69cbbf | 97dac6a27b015ff350194c992de565c725a34b8f | refs/heads/master | 2021-01-18T01:52:24.059937 | 2015-07-09T10:59:40 | 2015-07-09T10:59:40 | 38,813,564 | 0 | 0 | null | 2015-07-09T10:16:05 | 2015-07-09T10:16:05 | null | UTF-8 | R | false | false | 1,335 | r | plot3.R | # read the data
mydata <- read.table("household_power_consumption.txt", header=T, sep=";")
# convert the Date variable to Date classes in R using the as.Date() function
mydata$Date <- as.Date(mydata$Date, format="%d/%m/%Y")
# subset the data
mydata <- mydata[(mydata$Date=="2007-02-01" | mydata$Date=="2007-02-02"), ]
#... |
b0b54a23eb97c3141a227450432e30d579b422aa | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/stratEst/man/is.stratEst.check.Rd | 71b207b9467ca9b9ba3744ee920b4accdae24230 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 457 | rd | is.stratEst.check.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/is_stratEst_check.R
\name{is.stratEst.check}
\alias{is.stratEst.check}
\title{Class stratEst.check}
\usage{
is.stratEst.check(x)
}
\arguments{
\item{x}{object to be tested.}
}
\description{
Checks if an object is of class \code{stratEst.check... |
bc42f2673d70c62e2650ba04292af3368d0b146d | 3f02cb4dfd2e35fb7346830341e29df511f0137e | /man/is_valid_day.Rd | ad0446abeba470830103671d587eb37fec1f237e | [] | no_license | rajkboddu/admiral | ce08cb2698b62ca45ba6c0e8ed2ac5095f41b932 | ffbf10d7ffdda1c997f431d4f019c072217188b1 | refs/heads/master | 2023-08-11T11:14:44.016519 | 2021-09-08T10:24:45 | 2021-09-08T10:24:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 494 | rd | is_valid_day.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/assertions.R
\name{is_valid_day}
\alias{is_valid_day}
\title{Check Validity of the Day Portion in the Date Input}
\usage{
is_valid_day(arg)
}
\arguments{
\item{arg}{The argument to check}
}
\value{
\code{TRUE} if the argument is a day input, ... |
92e5559d89507133e3bab2625420dec3c82f2a14 | 674e66b177dc35e12831a0923419d9d9aa336a66 | /examples_Control_Structures.R | 9cab6cee2e706a06ac16dd022fc6dab7846d6abf | [] | no_license | oreclios/datasciencecoursera | cd7d1b049e7d142e509e63eca7ae0edb6f51f478 | 87e6d7c757c9f194c1623fd2e578e18d9d3d6c4a | refs/heads/master | 2021-01-13T07:15:00.474314 | 2016-10-25T21:13:30 | 2016-10-25T21:13:30 | 71,500,940 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,156 | r | examples_Control_Structures.R | ##Examples in R: Control Structures
##if - else:
if(x > 3){
y <- 10
}else if (x < 3){
y <- 5
}else{
y <- 0
}
##Another way:
y <- if(x > 3){
10
}else if (x < 3){
5
}else{
0
}
##################################################
##for loops:
for(i in 1:10){
print(i)
}
##Other examples:
x <- c("a", "b", "... |
0609cfa6d4c00c3e84a37a1e6418e33abff6c4bd | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/HAC/examples/plot.hac.Rd.R | 58668fd4ce0c3a630c583b185001bbf2b0650c4d | [] | 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 | 382 | r | plot.hac.Rd.R | library(HAC)
### Name: plot.hac
### Title: Plot of a HAC
### Aliases: plot.hac
### ** Examples
# a hac object is created
tree = list(list("X1", "X5", 3), list("X2", "X3", "X4", 4), 2)
model = hac(type = 1, tree = tree)
plot(model)
# the same procedure works for an estimated object
sample = rHAC(2000, model)
est.... |
01781c9ead9d3944dbcbb2eda8ddecaea2934e00 | 247168dd727c19cef2ce885476d3e4102d2ca7de | /man/AuthenticationManager-class.Rd | af13c24d1aa785458c396f08a097eb5672fc1b94 | [
"Apache-2.0"
] | permissive | DataONEorg/rdataone | cdb0a3a7b8c3f66ce5b2af41505d89d2201cce90 | 97ef173bce6e4cb3bf09698324185964299a8df1 | refs/heads/main | 2022-06-15T08:31:18.102298 | 2022-06-09T21:07:26 | 2022-06-09T21:07:26 | 14,430,641 | 27 | 19 | null | 2022-06-01T14:48:02 | 2013-11-15T17:27:47 | R | UTF-8 | R | false | true | 3,241 | rd | AuthenticationManager-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AuthenticationManager.R
\docType{class}
\name{AuthenticationManager-class}
\alias{AuthenticationManager-class}
\title{Manage DataONE authentication.}
\description{
AuthenticationManager provides mechanisms to validate DataONE authentication,
... |
b39a2227558415f576ad102f7ed5e9eaeec4321a | 3048f86163f979ccd5f218f3d1a8007b3b2d5c08 | /00-clean-data.R | a2017558fcb23587d8858097884bbeea2ab3adaf | [] | no_license | PedroHFreire/Desafio-Quantamental-UFFinance | 3b5ff1a04df3266b758dd29d296dcdc4dee30a27 | b4594f7a4c5f74717548cd88ee4a534e6710e6ae | refs/heads/master | 2022-11-28T14:41:18.251884 | 2020-08-14T11:25:15 | 2020-08-14T11:25:15 | 273,997,592 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,217 | r | 00-clean-data.R | setwd("D:/Google Drive/Desafio Quantamental/GARCH Vol. forecast/Scripts")
dados <- read.csv("cotacoes_ativos_inicio_2000.csv",
sep = ";",
header = FALSE,
dec = ",",
stringsAsFactors = FALSE)
dados <- dados[, c(-3, -5)]
colnames(dados) ... |
b0c2c7e87ed7f96ed3d4f529ee7e3b348c3b65db | 278c702f6192ffbf262a15a76fadb2b50e4886f3 | /man/splityield.Rd | 924a80935db9031a587e76fc1e0c52718dfa4851 | [
"MIT"
] | permissive | nganbaohuynh/stat340 | 747f8d894d829190797d07dce9fdcd40ade02e17 | 1233e40400a363503e4375dc1f43c0c731959d55 | refs/heads/master | 2023-06-06T13:30:05.337264 | 2021-06-23T08:46:56 | 2021-06-23T08:46:56 | 375,981,140 | 0 | 0 | NOASSERTION | 2021-06-11T10:00:54 | 2021-06-11T10:00:54 | null | UTF-8 | R | false | true | 484 | rd | splityield.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{splityield}
\alias{splityield}
\title{yields data in R book, Ch 19.4, called \code{splityield} here}
\format{
A data frame
}
\usage{
splityield
}
\description{
72 observations, 5 variables
}
\examples{
library(nlme... |
3be0066adefc39fb4e6ff1c6783eb9d60cca6d01 | 29585dff702209dd446c0ab52ceea046c58e384e | /plsgenomics/R/rpls.R | 8162274eefa3e8b5b8e96726c38c54d1a8c48137 | [] | 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 | 8,254 | r | rpls.R | ### rpls.R (2006-01)
###
### Ridge Partial Least square for binary data
###
### Copyright 2006-01 Sophie Lambert-Lacroix
###
###
### This file is part of the `plsgenomics' library for R and related languages.
### It is made available under the terms of the GNU General Public
### License, version 2, or at y... |
3c6e7c3791aedf6a507a26713d114858f17e03a7 | 9c96f302c63d7bdab317e573a2c4b66d4150979a | /Sim_Replication_TM_DR/TMA_GATES_vs_DO_GATES.R | 379703a0ba988fded70e898ca80379945c31b103 | [] | no_license | QuantLet/DR_GATES | 480dd18652a827d91a9aead40a9e6c35115b51b4 | 54756cd146c15363ae5371995049919a79682d19 | refs/heads/master | 2020-09-12T13:32:07.183814 | 2019-12-18T01:58:32 | 2019-12-18T01:58:32 | 222,441,087 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,006 | r | TMA_GATES_vs_DO_GATES.R |
# create matrix of DGP settings
settings <- as.data.frame(matrix(c(500,500,500,500,500,500,50,50,50,20,20,20), ncol=2))
settings$V3 <- c(F,F,F,F,T,T)
settings$V4 <- c("constant","con_lin","con_non","binary","con_non","binary")
settings$V5 <- c(0.5,NA,NA,NA,NA,NA)
S = 10
M <- 50
ntile <- 5
error_matrix <- matrix... |
0d1783c0cd622e85f2ae6525e94eafe9e5c5d6ee | fdedcc4fb558790169c100efd3a396614e815067 | /R/analyze.population.R | ec96184fe59e54d1a6e7d5bfc35530fea411eb3a | [] | no_license | cran/MoBPS | b7f7fdbde92a190c800185e2dd005d514d81f1d3 | c2aeedfcba8ebf563cc64e4d4a5d2d5f186e95e1 | refs/heads/master | 2021-11-22T18:48:13.109306 | 2021-11-09T15:50:18 | 2021-11-09T15:50:18 | 251,009,278 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,477 | r | analyze.population.R | '#
Authors
Torsten Pook, torsten.pook@uni-goettingen.de
Copyright (C) 2017 -- 2020 Torsten Pook
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 3
of the License, or (at yo... |
57834af86c4245269d6d632d1f8dbc08b5174230 | b948824fe5eb9253a9c44b99067d8df954f2e8d2 | /AllFunctions.R | 838fded7548c8921e32b5e3a206dcd01b7556b3b | [] | no_license | willthomson1/GDGT_Models | 63b875db1018951fd98ae65782e95a59d411a634 | 5d81c2027eddcb25a915a2d2f45b555ecb061dc2 | refs/heads/master | 2020-04-26T04:59:47.255821 | 2019-03-08T13:54:41 | 2019-03-08T13:54:41 | 173,319,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,109 | r | AllFunctions.R | ### This file contains functions to
### - fit the GP regression model (fitGPR),
### - compute nearest neighbour distances (Dnear),
### - make predictions from a GPR model (predictGPR),
### - fit the forward model (fitFWD)
### - make predictions from the forward model (predictFWD)
### - extract full posterior predictiv... |
cd674b310f80bea12f106842cb8b0af3908bcc85 | 40e327c3782d6dd8dc04a566da30e831ec58a3b6 | /Project1-ExploreVis/kylegallatin_shiny/ui.R | ce883a84b50f61b94735d90098bcb0bdded607a2 | [] | no_license | liyuhaojohn/bootcamp008_project | 86f20f384f0d2cabc73eb1e8a00d74c0e03d9a98 | 014e183b37d2fca0b0bc963b8634b089432f03b2 | refs/heads/master | 2020-03-17T16:48:14.924383 | 2017-04-08T17:17:35 | 2017-04-08T17:17:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,498 | r | ui.R | library(shiny)
library(shinysky)
fluidPage(
titlePanel("Onco/Tumor Supressor Gene Database"),
sidebarPanel(
helpText('This app shows you the number of mutations, corresponding cancer types and mutations types by gene. There are over 27,000 genes in this dataset. Click the "Gene Map" tab for a visual representa... |
021966c22e3431489dfe530daea551ff821ed918 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.database/man/redshift_describe_cluster_parameter_groups.Rd | 9f8ae11ab9d9d36f22293147130c61e3fd42be2e | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 4,190 | rd | redshift_describe_cluster_parameter_groups.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/redshift_operations.R
\name{redshift_describe_cluster_parameter_groups}
\alias{redshift_describe_cluster_parameter_groups}
\title{Returns a list of Amazon Redshift parameter groups, including parameter
groups you created and the default param... |
d96f5a06728c2cf2d0d6adbda33341236d4cbb93 | a7a6d898b7aadeb556d6f04c943bd45b4fd2a205 | /run_analysis.R | e3965e7f7705d1da75df1a2baf97efe53aefa24e | [] | no_license | SergeyPokalyaev/GettingAndCleaningData | 7dd8a6787836086146a2d418357b3058f3ca9419 | b74fd0adb5a79007e3ba56c7fdc8d2dc50b3c1f2 | refs/heads/master | 2021-01-13T02:30:31.519040 | 2015-06-07T21:53:32 | 2015-06-07T21:53:32 | 37,033,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,676 | r | run_analysis.R | run_analysis <- function() {
#Download file from internet
destfileName = "downloadedData.zip"
downloadedFile <- download.file(url = "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip",
destfile = destfileName);
#Unzip file
#unzip(dest... |
31c68ca88a1082cb3a925a3e2f65208adcd61bc6 | 897f0581bfc3403318f56072f7af1163b8189733 | /rosetta-motifs.R | b2834476c16a87c651c91954bd31bd496814bfa2 | [] | no_license | jashworth-UTS/ja-scripts | 2985891e628bae59b1f4b8696739cbf63b5a2dc2 | ac837ac0fee63c27b3b8ac4d9a5022810fb31976 | refs/heads/master | 2021-05-28T18:39:20.272694 | 2015-02-04T02:35:17 | 2015-02-04T02:35:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,854 | r | rosetta-motifs.R | probMatrixFromFasta =
function(fastafile,filter='')
{
require(Biostrings)
seqs=readDNAStringSet(fastafile)
if(filter != '') seqs = gsub(filter,'',seqs)
ppm=consensusMatrix(seqs,as.prob=T,baseOnly=T)
ppm=as.matrix(ppm)
return(ppm)
}
seqlogoFromFasta =
function(fastafile,plot=F)
{
require(seqLogo)
ppm = probMa... |
e02555b2f592f84830fb8ea0484d6913910ea5dc | cad3724a1a85fa998a42a12489079498cc62b688 | /man/afmReadVeeco.Rd | 343ab0e3c873d91ceda49d389bb9b4244a401b9c | [] | no_license | rbensua/afmToolkit | f045a63cc88fbf157947106ffd33789a4c31eb31 | c6f62e9a5316dcd76002f6e609fe5f0fe99856d7 | refs/heads/master | 2021-06-26T08:07:26.411266 | 2020-11-29T09:07:45 | 2020-11-29T09:07:45 | 42,361,434 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,123 | rd | afmReadVeeco.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/afmReadVeeco.R
\name{afmReadVeeco}
\alias{afmReadVeeco}
\title{Read Bruke Nanoscope Veeco ascii file}
\usage{
afmReadVeeco(filename, path = "")
}
\arguments{
\item{filename}{String with the name of the jpk file.}
\item{path}{Path to the fold... |
0d4ba65dbbff9fbe59c9787fd610a4a751385d24 | 9fc5e5d9388beea21812bd5adffdcfb67d1190ba | /ProgrammingAssignment2/cachematrix.R | aecc1a7752295d5902570cf0b983822ca0fc9e3f | [] | no_license | psridhar23/ProgrammingAssignment2 | f2445e6dc9e0ed8957af6d7a844af44dce983612 | 2de37b46bda5919e54952c1f676cb91b4a64a2ba | refs/heads/master | 2021-05-11T02:07:17.337853 | 2018-01-21T17:21:53 | 2018-01-21T17:21:53 | 118,350,555 | 0 | 0 | null | 2018-01-21T16:09:59 | 2018-01-21T16:09:58 | null | UTF-8 | R | false | false | 772 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## The following functions maintains a matrix and its inverse in a cache.
## It is used to set the value in the cache of the matrix and its inverse
## and retrieve them when reuired.
makeCacheMatrix <- function(x = matrix()) {
m <- N... |
a55c66736d9de37c173f7828d31493ff2c896a58 | 47629a6296c81a812d1d92f3060aafd0fd1e020f | /words/randomize_words.R | 1118a61109a60870100b03a2e346b67c09a81361 | [] | no_license | stephmsherman/memory_consolidation_task | 8fa8a8b3ec720b94bd8949ec56cdacd362a18d79 | ce49d4f703464fe4c252599a53f4992d23123661 | refs/heads/master | 2021-01-22T03:45:09.139535 | 2017-03-16T19:00:40 | 2017-03-16T19:00:40 | 81,460,552 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,444 | r | randomize_words.R |
participant = "01" ## two digit number in quotes
list = 1 # either 1 or 2
#define path where you download memory_consolidation_task. Make sure to end in the /
path="/"
one=read.csv(paste(path,"memory_consolidation_task/words/all_words_list",list,".csv",sep=""))
head(one)
#create a sequence from 1 to however many w... |
69f576b60e586ac77ed7c5934a241b7c9107cfbf | d07c2602c5820b1868da52f557e655847e46a821 | /man/toys.Rd | b198abfbd16cc484ad2ad4167817779281f257f8 | [] | no_license | robingenuer/VSURF | f344cfdd8e19561ab005a6efd1bfeee40ba87d1d | af607ebf77acd40860e24fe88c295dff363369bf | refs/heads/master | 2023-02-20T17:28:14.640950 | 2023-02-07T15:41:45 | 2023-02-07T15:41:45 | 32,991,821 | 29 | 15 | null | 2016-03-09T07:35:31 | 2015-03-27T14:49:41 | R | UTF-8 | R | false | true | 1,450 | rd | toys.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/toys.R
\docType{data}
\name{toys}
\alias{toys}
\title{A simulated dataset called toys data}
\format{
The format is a list of 2 components:
\describe{
\item{x}{a dataframe containing input variables: with 100 obs. of 200
variables}
\item{y}... |
7ed6641f0e1dd07c8e529822ae9dcc68074c9489 | 9de3b2b8b28f89cfb13723b6be99f157fc13a313 | /2_Functions/2_Analysis/Function_process_covariates.R | 3ccf2eec3cd67f0c6ab0afec4445682444ddf79e | [] | no_license | WWF-ConsEvidence/MPAMystery | 0e730dd4d0e39e6c44b36d5f9244a0bfa0ba319b | 6201c07950206a4eb92531ff5ebb9a30c4ec2de9 | refs/heads/master | 2023-06-22T04:39:12.209784 | 2021-07-20T17:53:51 | 2021-07-20T19:34:34 | 84,862,221 | 8 | 1 | null | 2019-07-24T08:21:16 | 2017-03-13T18:43:30 | R | UTF-8 | R | false | false | 9,348 | r | Function_process_covariates.R | #
# code: Preprocess matching covariates function
#
# author: Louise Glew, louise.glew@gmail.com
# date: May 2019
# modified: --
#
#
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# ---- SECTION 1: SOURCE DATA ----
#
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
source('1_Data_wra... |
9c60502e65d6643f0b88df078ecb49818b54f325 | 5e6636f824327482c44c0f175387c39801fd1e02 | /Week 3/Leap year example.r | 5d1ae06ca586b48dad0b9c1c53c44ba1a46a73e0 | [] | no_license | funshoelias/social_media_data_analytics | 05f2ca0b27fa93a896544e8b62e2651d6b2ee37f | 972a6f65aa85e49ad3f1f80a1ee44eca28d3e9ec | refs/heads/master | 2021-02-16T18:09:53.229809 | 2018-08-10T20:19:32 | 2018-08-10T20:19:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 277 | r | Leap year example.r | readinteger <- function()
{
n <- readline(prompt="Enter a year: ")
if(!grepl("^[0-9]+$",n))
{
return(readinteger())
}
return(as.integer(n))
}
year = readinteger()
if (year%%4 == 0){
print("Leap year.")
}else{
print("Not a leap year.")
} |
d860702dfc44bb69432c29d0ba198fe2cf856961 | 9b1984473184f69312ffcf3b42a7e3f7e27209f1 | /cachematrix.R | 90c4f494681eebc9ecb268d3f8714e4da823ba49 | [] | no_license | mackenziewildman/ProgrammingAssignment2 | 068c36f9f518de4ccfdfaaacb17971f33fcec8e0 | d3e83b8665436bce0591c5291f54fde3948b3ef0 | refs/heads/master | 2021-01-12T06:18:15.520017 | 2016-12-25T19:35:02 | 2016-12-25T19:35:02 | 77,338,291 | 0 | 0 | null | 2016-12-25T18:39:49 | 2016-12-25T18:39:49 | null | UTF-8 | R | false | false | 1,715 | r | cachematrix.R | ## Programming Assignment 2
## Mackenzie Wildman
## The following functions compute the inverse of a matrix
## by caching the the value of the matrix and its inverse.
## When computing a matrix inverse, the functions first check
## whether that matrix inverse has already been computed,
## and if so, returns the alread... |
8d1c3f0290d7aaae73fb2cb41378f100ef8a3163 | fab8ecf98fef30704511173e23ee3d8117c594ff | /tests/testthat/TestGcov/R/TestCompiled.R | bb07d92257f4979392b05ec30b2e21a4d935a37b | [] | no_license | kirillseva/covr | 66f9bbcfd8fc56392dca4dd67f6a993db22803fe | 47356df2e7713e7bc9b388c4d656c30eea5238a0 | refs/heads/master | 2020-12-29T03:06:34.177615 | 2016-03-31T21:03:34 | 2016-03-31T21:03:34 | 32,338,648 | 0 | 1 | null | 2016-03-31T21:03:35 | 2015-03-16T16:38:15 | R | UTF-8 | R | false | false | 86 | r | TestCompiled.R | #' @useDynLib TestGcov simple_
simple <- function(x) {
.Call(simple_, x) # nolint
}
|
f084afc0b284205f77d638871f635c7d7999f48d | 7b77d8b986b3e75c7b4ab0a97dac98d6b185a700 | /user-interface.R | 57b7dbfd5453304fc9e1410c92250afe3c7d4ffa | [] | no_license | thuynh12/final-hate-crimes | 74428d83bbaccb4c4bfa03c6fed25232216d6630 | d80d9b817f27c8e0a64712f6809c354c17e13702 | refs/heads/master | 2020-03-17T15:35:15.486547 | 2018-05-31T19:46:52 | 2018-05-31T19:46:52 | 133,716,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,451 | r | user-interface.R | library(shiny)
library(leaflet)
library(geojson)
library(geojsonio)
source("analysis.R")
source("rahma.kamel.R")
### TRY TO KEEP THE CODE NEAT. MAKE SURE YOUR PROGRAM RUNS BEFORE COMMITTING.
### AVOID MAKING OTHER'S CODE BREAK.
ui <- tagList(
navbarPage(
theme = shinythemes::shinytheme("darkly"),
title =... |
9a153cecdecf79a12b8fbafddcc4a8d40d3c7d52 | 3055b7865427f5689d3e68907be7960647ae71b6 | /R/aggregate_module_summary_plots.R | cc6d54cea455a7fa9fa1987ffe54c7260e264eba | [] | no_license | wondersandy/AMPAD | 37d6a6a7ee97412196be0847f89b525f8fc800b1 | 2803a72e31673f18560ac091d0928fcb3dd75380 | refs/heads/master | 2022-04-11T01:06:05.791277 | 2020-01-12T19:13:28 | 2020-01-12T19:13:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,141 | r | aggregate_module_summary_plots.R | aggregate_module_summary_plots = function(outputFile=FALSE){
foo <- synapser::synTableQuery("select * from syn11932957")$asDataFrame()
foo2 <- dplyr::select(foo,GeneID,Module)
foo2$Presence <- 1
foo3 <- tidyr::pivot_wider(foo2,
id_cols = "GeneID",
names_... |
fc7a5b800348b39510e68541f29de2f20853a3a2 | 97bcc8873287e1918725271f5bfc28946cc30fd2 | /Model/hydrological/HydrologicalModel/CalculateGwHeads.r | 5a3d7c15158612665cc2cd013547489f2cb8cb9f | [] | no_license | HYDFKI7/integrated-mk | 536a678149f88ea03f81ac3be4955daabe8fb9a6 | 95ade4863a50a2122cbf54cfaea244aecd94b141 | refs/heads/master | 2021-06-01T12:41:36.898760 | 2016-09-05T04:57:22 | 2016-09-05T04:57:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 315 | r | CalculateGwHeads.r |
CalculateGwHeads = function(Gstorage, gwFitParam) {
applyFit = function(fitParam, G) {
Glevel = apply(fitParam, 2,
function(x) {G*x["scale"] + x["intercept"]})
return(Glevel)
}
Glevel = mapply(applyFit, gwFitParam,
unlist(apply(Gstorage, 2, list), recursive = FALSE))
return(Glevel)
} |
ef193751e1124c631600fc0058c7b594ba19881a | d4d160c8f13a839e1dcc21ee78310371eec607e8 | /cachematrix.R | 0fc651f4f734e0c66402702080f0eac56ed2f4d0 | [] | no_license | rusek01/ProgrammingAssignment2 | bc281f9114e31e270cd6f0c9c058b40b49747155 | 6cb34fad2f40689f5482d96db1033b4baec90c38 | refs/heads/master | 2021-01-22T14:05:33.096698 | 2015-07-26T21:37:26 | 2015-07-26T21:37:26 | 39,512,196 | 0 | 0 | null | 2015-07-22T14:53:45 | 2015-07-22T14:53:45 | null | UTF-8 | R | false | false | 1,225 | r | cachematrix.R | ## Following functions can be used to offload demanding task of calculating
## matrix inversion
## function below creates list object with four methods which can be used
## to store matrix and its inversion. storing matrix clears inversion, it
## also provides mean of reading stored values
makeCacheMatrix <- function... |
571570202d0d8586fb5de0bcd8f5820916de032c | 7fcd66e557198b4b96ea9a964a89bf19efbde910 | /R_shiny/ui.R | 0ed72a10075a806aec50c955f456e8f0333df0f8 | [] | no_license | QimingShi/R | e34877c0ceb34c90773d19cbe873bc817ae9c6d9 | e71df6269bd09043667df6130039cef6b59fe118 | refs/heads/master | 2020-03-21T03:52:16.585494 | 2018-06-20T19:46:03 | 2018-06-20T19:46:03 | 138,078,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 981 | r | ui.R | library(shiny)
library(leaflet)
library(RColorBrewer)
library(raster)
library(shapefiles)
library(rgdal)
library(xtermStyle)
library(rgdal)
library(lattice)
library(Cairo)
dat = readLines("Data/icd_format.txt", encoding = "UTF-8")
vars <- c("Household Income"="Income",
"Patient Ratio"="Ratio",
"Po... |
15ab103dd209c0430d4da6aa09b5c10297acd66c | effe14a2cd10c729731f08b501fdb9ff0b065791 | /cran/paws.mobile/man/devicefarm_get_device_pool_compatibility.Rd | 24c082443cc71c99e6fb574f8ccc9aeae1b6850d | [
"Apache-2.0"
] | permissive | peoplecure/paws | 8fccc08d40093bb25e2fdf66dd5e38820f6d335a | 89f044704ef832a85a71249ce008f01821b1cf88 | refs/heads/master | 2020-06-02T16:00:40.294628 | 2019-06-08T23:00:39 | 2019-06-08T23:00:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,003 | rd | devicefarm_get_device_pool_compatibility.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/devicefarm_operations.R
\name{devicefarm_get_device_pool_compatibility}
\alias{devicefarm_get_device_pool_compatibility}
\title{Gets information about compatibility with a device pool}
\usage{
devicefarm_get_device_pool_compatibility(devicePo... |
11ed0c1f97d5832fa5cd31af7097dbfae0f136dd | abacca46954a0259b1530d254d62609d084a9a50 | /pkg/R/ffdfdply.R | 4f890835cec30c400f547e82b23d8f4d370ec693 | [] | no_license | nalimilan/ffbase | 4afb965d370425dd50d7adaae1848b0d4081ba97 | e6a1f2be391e69d4290b7b8f06a9c527ce8af445 | refs/heads/master | 2021-01-18T06:09:14.035055 | 2013-11-11T16:09:31 | 2013-11-11T16:50:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,616 | r | ffdfdply.R | #' Performs a split-apply-combine on an ffdf
#'
#' Performs a split-apply-combine on an ffdf.
#' Splits the x ffdf according to split and applies FUN to the data, stores the result of the FUN in an ffdf.\cr
#' Remark that this function does not actually split the data. In order to reduce the number of times data is pu... |
621d835c1226cb08c9c7357c281bfc7714cef74a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Surrogate/examples/FixedBinContIT.Rd.R | 05437ffed667e7e832592f8daaabff54eea4aa9c | [] | 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 | 1,386 | r | FixedBinContIT.Rd.R | library(Surrogate)
### Name: FixedBinContIT
### Title: Fits (univariate) fixed-effect models to assess surrogacy in the
### case where the true endpoint is binary and the surrogate endpoint is
### continuous (based on the Information-Theoretic framework)
### Aliases: FixedBinContIT
### Keywords: plot Information-... |
51b817fdb899a3c55ccf820cb84ca9b823146cb3 | 457fce4c5c67741ee54126217e39721faa771b94 | /SGL_R_modified/SGL/R/additional.R | 03635d2c2c25e78627f345470ac6426773acec31 | [] | no_license | ababii/sparse_group_lasso_matlab | b49f360ec6d9c71784a98b6adf8e0a8ba47f9e44 | ddeda2f393f0f937b3bd9cc079f7cb3d1f3043cc | refs/heads/master | 2022-02-13T09:20:05.211775 | 2019-07-29T11:52:48 | 2019-07-29T11:52:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,238 | r | additional.R | # SGL predict function internal:
cvSGL.predict.internal <- function(obj, newx, s="lambda.1se"){
l<-getmin(obj$lambdas,obj$lldiff,obj$llSD)
if(s=="lambda.1se"){lam <- l$lambda.1se} else {lam <- l$lambda.min}
idx <- which(obj$lambdas==lam)
fit <- obj$fit
X <- newx
if (!is.null(obj$X.transform)) {
if (is.m... |
b4c784a7972e9fd40d80c91bcf37ee267aab2d48 | 4680f495ab20b619ddf824584939a1e0356a0ed3 | /scripts/solution/create_decks.R | 014b8ae8542868d8aac4b23a91b45d864e6aa47c | [] | no_license | Laurigit/flAImme | 7ca1de5e4dd82177653872f50e90e58aed5968f7 | 9d4b0381d4eedc928d88d0774c0376ba9341774b | refs/heads/master | 2023-05-24T17:06:58.416499 | 2023-04-28T08:10:30 | 2023-04-28T08:10:30 | 251,082,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,360 | r | create_decks.R | #create decks
#cyclers <- c(1,2,3,4,5,6)
#required_data(c("STG_DECK", "ADM_CYCLER_DECK"))
create_decks <- function(cyclers, ADM_CYCLER_DECK, extra_exhaust = NULL, breakaway_data = NULL) {
res <- ADM_CYCLER_DECK[CYCLER_ID %in% cyclers, .(CYCLER_ID, CARD_ID, Count, Zone = "Deck", MOVEMENT)]
if (!is.null(extra_exhau... |
7d9bc84b833caf606862b425e931cb5bc252f30f | e80f2a5a0e13370e52cc97fe42f5c9edcc8eead5 | /man/simple_wmap.Rd | 593dbc6acbed4216d00f7ccb097e5f87c11cede6 | [] | no_license | marlonecobos/rangemap | 80cd91c6847338763f793ad7ac66f6fc3a1210eb | 1edfc01612a120de25f92cf651e9ca64a4f8535a | refs/heads/master | 2022-05-21T11:48:08.929230 | 2022-04-14T17:51:43 | 2022-04-14T17:51:43 | 133,424,345 | 17 | 11 | null | 2020-09-15T03:58:57 | 2018-05-14T21:36:23 | R | UTF-8 | R | false | true | 720 | rd | simple_wmap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{simple_wmap}
\alias{simple_wmap}
\title{Get a simplified SpatialPolygonsDataFrame of the world}
\usage{
simple_wmap(which = "simplest", regions = ".")
}
\arguments{
\item{which}{(character) name of type of SpatialPolygons to b... |
612792e77272f12d65976896161ed344b1da37dd | 3f51f4c1b7d5a881289327df655a6852b9198838 | /man/tsview.Rd | c36538bf85da68c142ae769a77ba7501938ea604 | [] | no_license | mdijkstracpb/tsview | daf37077991271bcfe14ef6f594382dfa805f738 | 5f4760c8c3b599614d35cd1ad26ade21ad02a7bd | refs/heads/master | 2021-01-11T16:35:06.229076 | 2017-02-27T09:06:08 | 2017-02-27T09:06:08 | 79,892,437 | 0 | 0 | null | 2017-01-24T08:44:43 | 2017-01-24T08:24:50 | null | UTF-8 | R | false | true | 930 | rd | tsview.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tsview-tsview.R
\name{tsview}
\alias{tsview}
\title{Plotting Time Series Objects in Browser}
\usage{
tsview(x = ts(matrix(rnorm(150), 30, 5), start = c(1961, 1), frequency = 4),
plot.type = "multiple")
}
\arguments{
\item{x}{time series obj... |
897318d871dbfa7b9aebe22a8f1c4796c8687dc7 | f208136b3e095cc0abaf5a00057b93fc15088bb8 | /R/download_.R | 7ed92c4feb994a6c01fbce3dc5fe67ea489c3788 | [
"MIT"
] | permissive | AtlasOfLivingAustralia/SoE2021 | fae6323bcc6290420015d151ab28a76838726365 | 4b5d8c24789c35a77866f5874c639da0c0796d61 | refs/heads/main | 2023-04-23T04:31:21.995125 | 2021-05-10T06:28:00 | 2021-05-10T06:28:00 | 339,227,244 | 0 | 0 | MIT | 2021-05-03T05:15:47 | 2021-02-15T22:43:10 | R | UTF-8 | R | false | false | 623 | r | download_.R | download_data <- function(data) {
downloadHandler(
filename = function() {
paste("soe_data", ".csv", sep = "")
},
content = function(file) {
write.csv(data, file, row.names = FALSE)
}
)
}
download_plot <- function(type) {
if (type == "i_map") {
downloadHandler(
filename = pa... |
80a3dd536d2b0dba6bd6a25de5bee2aa2817403b | 7cc3a2e4a797a77f4ca1c74b9fc14147a6193cf7 | /Code_R/new_frank_touni.R | ae08a0532d9c3ca6cf186d0b2e751a15f24fa73f | [] | no_license | yuqing-li1110/Copula-in-Rainfall-Analysis | f864ec1bffab645e936c377c3b065762f597880a | 8517c7ba933f2e6b95aa0de7e955f58de5c85091 | refs/heads/master | 2022-12-11T05:30:52.616776 | 2020-08-28T04:46:07 | 2020-08-28T04:46:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,599 | r | new_frank_touni.R | library("dplyr")
library("copula") # Copula package
library("lcopula")
library("tiger")
library("gsl")
LSC <- read.csv("result_2005_2017_LSC.csv")
# SSC <- read.csv("result_2005_2017_SSC.csv")
## Filter
LSC = LSC%>% filter(LSC$durT > 1 | LSC$newstart == 0)
LSC <- LSC[,-c(1,4,17,18,19)]
LSC <- na.omit(LSC)... |
4fbdff90aab9d27b9b6139f6cbc2822547845b76 | 15479d42825658129d960589425dfd2e45734414 | /makeBndLines.R | 453efc083a6391658ba78cd45c294283dd3b63ba | [] | no_license | claretandy/Veg-Precip_WestAfrica | 883911bdfc0ae594c46cb3f2632829e390ab1b40 | 77fb250143131fab150682072fab1dd16e602190 | refs/heads/master | 2020-04-06T05:26:44.436568 | 2015-04-28T17:15:18 | 2015-04-28T17:15:18 | 34,739,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,794 | r | makeBndLines.R | densify <- function(xy,n=5){
## densify a 2-col matrix
cbind(dens(xy[,1],n=n),dens(xy[,2],n=n))
}
dens <- function(x,n=5){
## densify a vector
out = rep(NA,1+(length(x)-1)*(n+1))
ss = seq(1,length(out),by=(n+1))
out[ss]=x
for(s in 1:(length(x)-1)){
out[(1+ss[s]):(ss[s+1]-1)]=seq(x[s... |
e44262b575ca26f69754ded7a7cff74923b99d44 | 899420d8106be354a2010f5964fc5802f533294c | /man/drawFeature2sf.Rd | 5b526903dc63916dc2f05291bc17755fa9cae9b7 | [] | no_license | annakrystalli/sedMaps | 4cea5a3e51feb27427d01188b607efe7c40b160c | a93da7c5ba1125f5716cbb60674b80cfb74ad36b | refs/heads/master | 2021-06-24T17:26:34.668563 | 2021-06-19T12:25:27 | 2021-06-19T12:25:27 | 149,792,890 | 1 | 1 | null | 2018-09-22T10:16:53 | 2018-09-21T16:59:44 | R | UTF-8 | R | false | true | 379 | rd | drawFeature2sf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract-sf.R
\name{drawFeature2sf}
\alias{drawFeature2sf}
\title{Convert a drawn leaflet feature to sf}
\usage{
drawFeature2sf(feature)
}
\arguments{
\item{feature}{drawn leaflet feature}
}
\value{
a simple feature object of the leaflet featu... |
3d7a0094c8c4e7fb15db4d549b2dcd30607864bc | ca5f11d0358ab203d9468659c1306d1b186eb206 | /R/blandr.plot.ggplot.r | 86a8765ca65a1dba33a2d8dc926cffbd68fdfa9f | [] | no_license | deepankardatta/blandr | 75b3a30b2d961fd3c7b12824ab035943f8c01208 | 4d5b1a43536cd1fd9021ff5b1736a7534bc14072 | refs/heads/v.0.5.3-development | 2021-12-14T12:45:38.472889 | 2020-03-28T07:15:04 | 2020-03-28T07:15:04 | 95,990,424 | 15 | 9 | null | 2021-12-06T01:33:16 | 2017-07-01T22:25:47 | R | UTF-8 | R | false | false | 9,802 | r | blandr.plot.ggplot.r | #' @title Bland-Altman plotting function, using ggplot2
#'
#' @description Draws a Bland-Altman plot using data calculated using the other functions, using ggplot2
#'
#' @author Deepankar Datta <deepankardatta@nhs.net>
#'
#' @param statistics.results A list of statistics generated by the blandr.statistics function: see... |
3b0ecb22ee9e0bfbb4255bc1234a8296dae105d2 | 15ca9daea2d93ee87bc02669f63c90d016d29a60 | /data-raw/data_processing.R | 461478c72e3d9728470b2b69443c94ba931f859c | [
"CC-BY-4.0"
] | permissive | Global-Health-Engineering/durbanplasticwaste | 71160fdb13a9b676d41c57d7feaedfee3f8c94d4 | 5853f3d5878798fb063cfaaf109ef6c1bc937740 | refs/heads/main | 2023-08-08T18:34:39.769299 | 2023-05-09T10:57:02 | 2023-05-09T10:57:02 | 604,573,987 | 0 | 1 | CC-BY-4.0 | 2023-09-12T07:45:41 | 2023-02-21T10:52:19 | R | UTF-8 | R | false | false | 3,610 | r | data_processing.R | # description -------------------------------------------------------------
# R script to process uploaded raw data into a tidy dataframe
# R packages --------------------------------------------------------------
library(tidyverse)
library(here)
library(readxl)
library(janitor)
# read data ------------------------... |
e847701aad2778df9c865d7935cdef10b6ce99d8 | 1c4fb1e9c330a6ccbcbf0707befa792aeae0f925 | /R/data.R | 65526a1fccfb16ebc6155ad2623b0b85af4cdbc0 | [
"MIT"
] | permissive | ramongss/qualiscapes | e908134d72498f46614377fae6e8ef8f4996ea5d | 6eba63bc9cc0659de948237e4c9f8eda94919174 | refs/heads/master | 2023-04-21T11:30:05.878300 | 2021-05-13T21:52:26 | 2021-05-13T21:52:26 | 363,000,405 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 433 | r | data.R |
#' 2019 Qualis CAPES database
#'
#' A database with the preliminary 2019 Qualis CAPES.
#'
#' @format A data frame with 22,046 rows and 3 variables:
#' \describe{
#' \item{ISSN_2019}{The issn of the Journal/Congress}
#' \item{TITULO_2019}{The name of the Journal/Congress}
#' \item{ESTRATO_2019}{The Qualis CAPES o... |
2e039936c87d91748b7e333c7f21b284b67a00da | 5bcb21798e65f99903c5f4f76237d4cf2badb557 | /srv_ui_elements/visualize_UI_misc.R | d04eedcae15e016564898c095e3952c5b2b3091f | [] | no_license | EMSL-Computing/FREDA | 380f77da60a98bc90c0d0aa0172302d573a4afa9 | 734f076348203d30dd0f6bf42492cd9d2c918d3f | refs/heads/master | 2022-11-06T17:04:00.096746 | 2022-09-08T23:37:17 | 2022-09-08T23:37:17 | 122,237,917 | 1 | 1 | null | 2022-11-03T17:59:22 | 2018-02-20T18:27:52 | HTML | UTF-8 | R | false | false | 1,099 | r | visualize_UI_misc.R | list(
# warning messages for viztab
output$warnings_visualize <- renderUI({
HTML(paste(revals$warningmessage_visualize, collapse = ""))
}),
# icon control for viztab collapsible sections
output$chooseplots_icon <- renderUI({
req(input$top_page == 'Visualize')
if('peakplots' %in% input$viz_sideb... |
fb0cb891da07f264445f32d8ca9518d6a3409d15 | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.database/man/rds_add_role_to_db_instance.Rd | bf443f007e380c7f3f8b276094e8055b99c941f2 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 1,190 | rd | rds_add_role_to_db_instance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rds_operations.R
\name{rds_add_role_to_db_instance}
\alias{rds_add_role_to_db_instance}
\title{Associates an AWS Identity and Access Management (IAM) role with a DB
instance}
\usage{
rds_add_role_to_db_instance(DBInstanceIdentifier, RoleArn, ... |
d5ba6bbff56697b8e360ccbc959b107a3d242298 | ca3fa26a219a1695dc8d30f447325148a2f9c6f5 | /man/assignDirectory.Rd | 80457d1e954cfff936e37d2193e0045a1e314491 | [] | no_license | joshbrowning2358/romeHousePrices | fc0c2cca2bdd66c02c655e01ec1fbcf61ba98322 | e3568316c7d515605f8d72255c825b4569f7ae61 | refs/heads/master | 2023-02-18T15:47:17.485520 | 2015-12-14T05:59:16 | 2015-12-14T05:59:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 596 | rd | assignDirectory.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/assignDirectory.R
\name{assignDirectory}
\alias{assignDirectory}
\title{Get Directory}
\usage{
assignDirectory()
}
\value{
No value is returned, but workingDir and savingDir are written to
the global environment.
}
\description{
Thi... |
6e270cca049399a4c0abec31c45a92392dcab256 | dc1995bd7e6a5320cd454d69c5e730990519fd75 | /06-experimental.R | 0af95c12437b64bd98e75f989231323e633f42c0 | [] | no_license | aswansyahputra/30daychartchallenge | 80b3d013350c7f82bf3d6ea8c20b3759d9c5bb59 | 877b899559c40c2bfa07ebbf5976e60435c7b3a9 | refs/heads/master | 2023-04-24T11:34:35.318862 | 2021-04-29T13:54:11 | 2021-04-29T13:54:11 | 353,593,761 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,446 | r | 06-experimental.R | # Load packages -----------------------------------------------------------
library(tidyverse)
library(tidycode)
library(treemapify)
library(ggfittext)
library(ggtext)
library(scales)
library(paletteer)
# List path of rscripts withing project directories -----------------------
rpaths <-
list.files(
path = "u... |
26f050e94e56f89606cbfcb209ccc2da35ef6deb | 13f24d4689ea4420c0e3358a59be38f8c6e2bb2f | /R/univtwinmod.R | 4d5bc851ea39cfce4a6dc018cef5c556eeec893d | [] | no_license | deepchocolate/qglavmods | 43d360d63b443d1ab76e38e9110278c5fe75445c | e6256adb042fb46fd300f0f57f343e57948b4c0f | refs/heads/master | 2023-09-04T01:11:44.246683 | 2021-10-13T08:12:00 | 2021-10-13T08:12:00 | 342,619,944 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,264 | r | univtwinmod.R | #' Generate syntax for a univariate twin model
#'
#' @param measT1 Variable name of measurement in twin one.
#' @param measT2 Variable name of measurement in twin two.
#' @param model A list of variance components (A,C,D,E) and labels, eg list(A='a',C='c',E='e').
#' @param append Any additional syntax.
#' @param varLab... |
75a2d615b535dd2a516aae17b4b8445a7582427e | 0bc7b27b4ecdf338211f763915e498afbd076f19 | /R/resumenNumericoPonderada.R | faec068c7dd2ba5de29c57d6e29597447db4af34 | [] | no_license | cran/RcmdrPlugin.TeachStat | f42fd6b05a5e351d3f77e7204daabeae93bc93f1 | 702e87f2c3e6e7036a50d547f529f20ea915d369 | refs/heads/master | 2022-08-01T00:58:27.010966 | 2022-06-22T11:00:02 | 2022-06-22T11:00:02 | 162,720,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,786 | r | resumenNumericoPonderada.R | resumenNumericoPonderada <- function(){
Library("abind")
Library("e1071")
# Library("Hmisc")
defaults <- list(initial.x=NULL,initial.sg=gettext("<no variable selected>",domain="R-RcmdrPlugin.TeachStat"),
initial.sg2=gettext("<no variable selected>",domain="R-RcmdrPlugin.TeachStat"),
... |
cdc663edf35bfd24d53afff0438a76fb03d0b108 | 2c7170e80155d784ada407c7bedd7330677dfdcc | /R/lfqRestructure.R | d75d79102fa053417692acd9171256ff56be2d99 | [] | no_license | cran/TropFishR | 24d5eb2e67763e9fcb7e2de384c793a81398860f | 7314b3f27dbc1598c4f90f6644730354714271c1 | refs/heads/master | 2021-10-06T11:19:43.850654 | 2021-10-04T07:10:02 | 2021-10-04T07:10:02 | 62,435,814 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,292 | r | lfqRestructure.R | #' @title Restructuring of length frequency data
#'
#' @description First step of the Electronic LEngth Frequency ANalysis (ELEFAN),
#' which is restructuring length-frequency data (lfq).
#' This is done according to a certain protocol, described by many authors (see
#' Details or References for more information).
#'
#... |
2b7444311f0bdc5f35cb30411096964960642704 | c07e1c72dea0b10cce8c9b85b5ea1c79ce545678 | /TableOne.R | b2832dc86e502cbcce043ed30a740e08699cccab | [] | no_license | erickawaguchi/CE4-Survival | 059eedae450a28de96a75e04fbeb75e13e744ff6 | f96f927cb0ca2f6988199c3c7c002175e21eb0a0 | refs/heads/master | 2022-04-19T16:20:00.570247 | 2020-04-15T20:27:16 | 2020-04-15T20:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,152 | r | TableOne.R | require(tableone)
fulldata_AREDS<-read.csv("Phenotype_AREDS.csv")
fulldata_AREDS$smoke<-as.factor(fulldata_AREDS$smoke)
fulldata_AREDS$status<-as.factor(fulldata_AREDS$status)
#####################################################################
########## Table 1 ##########... |
c65b046fe9a9b310730bd543ba8a56a4cd7dafe6 | e4f181ea65a44819063e0dcb90604db91946a35b | /09. RMarkdown y Shiny/2. Aplicaciones/Ejercicio_GDP/server.R | 923855747624c67405638bc8da6451ed1af9ec17 | [] | no_license | 1789291/Master-Data-Science | 93016732264eef456f61c7d22cd4a64145c226f7 | cbe58c9b04c22dff927a82e570d789d9ce849cae | refs/heads/master | 2021-09-22T11:20:10.204010 | 2018-09-09T10:35:52 | 2018-09-09T10:35:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 797 | r | server.R | # Ejercicio GDP
library(shiny)
# Definimos Server
shinyServer(function(input, output) {
#
datos <- reactive({
df_sin_kuw %>% filter(year == input$year)
})
output$grafico_scatter <- renderPlot({
ggplot(datos()) +
aes(x = gdpPercap, y = lifeExp, size = pop, color = continent)... |
273abd5a2f5814920ba7a5f3c9348706ab1052c3 | 349e1979fb70286bd79f43949a24fd163b9d2d3e | /wa_income_location_chart.R | aa4cba2b45a40672d8853464cb4a2a189615f2d6 | [] | no_license | maxjj9710/info201_project | 2dd4bb09a60508f46a226a70458e3b652f81ad64 | addd60008deae0b36699c0aa5d47242124de612f | refs/heads/main | 2023-03-18T12:12:13.505035 | 2021-03-18T05:09:49 | 2021-03-18T05:09:49 | 332,921,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,672 | r | wa_income_location_chart.R | # Group 5: Vriana Gatdula, Rona Guo, Aubrey Jones, Max Wang
# INFO 201 A // AE
# Exploratory Analysis
# Setup ------------------------------------------------------------------------
# Load the necessary packages.
library(dplyr)
install.packages("ggplot2")
library(ggplot2)
library(stringr)
library(tidyvers... |
524ccfaebb11646e3730b9fee1339e43bf068ab4 | cba35da0c6e0cdb38db25266040c338e651a37f3 | /plot4.R | 732ad01ca02faee8f57ff50ddfd213ce6b59eecf | [] | no_license | ananyamathur1999/ExData_Plotting1 | c7e70122ed52623c53dfb8e4181cd99ee768525b | 9a76388d734516b4ca2e1c0f399978599babfe49 | refs/heads/master | 2021-01-09T16:42:09.213441 | 2020-02-22T17:04:34 | 2020-02-22T17:04:34 | 242,375,849 | 0 | 0 | null | 2020-02-22T16:44:11 | 2020-02-22T16:44:10 | null | UTF-8 | R | false | false | 1,203 | r | plot4.R |
doc<- read.table("household_power_consumption.txt",sep=";",header=TRUE)
subset <- doc[doc$Date %in% c("1/2/2007","2/2/2007") ,]
subset$Sub_metering_1<-as.numeric(as.character(subset$Sub_metering_1))
subset$Sub_metering_2<-as.numeric(as.character(subset$Sub_metering_2))
subset$Sub_metering_3<-as.numeric(as.charact... |
e4743af758917630bc8507aa26a3a834db571d58 | efc256ce1f0b8c70d3f9a59799032f798649faba | /libraries.R | c4ba9e827568e54478aef00fd8d3e43a9e6d8366 | [] | no_license | pawelek9/MOR_project | c17ba7ec882c49b243be7a584c33deb1e182448f | 4a3ac69e1f69d67db4327835a4d95ab66d8776a4 | refs/heads/master | 2022-09-20T22:15:39.602039 | 2020-05-28T00:47:17 | 2020-05-28T00:47:17 | 266,324,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 336 | r | libraries.R | ##This script will contines libraries
#install.packages("dplyr")
#install.packages('taRifx')
#install.packages('rlist')
require('dplyr')
require('taRifx')
require('rlist')
require('purrr')
require('timeSeries')
require('fPortfolio')
require('microbenchmark')
require("comprehenr")
require('ggplot2')
require('tidyr')
req... |
749e9e1d2349eca9172a286fd0a68c262fe3329f | 69ef2c8abdc375caf7ca9b1c1808f6a33a66fcd0 | /man/Target-class.Rd | 27d471c68d6a2cebea66ae349fcdb03a34d7fbd5 | [] | no_license | doomhammerhell/test-datamart | 452342d3a1c12db6c6a920d50cb273149cee1725 | 3d4763e6739e6436219c5607e6a8db7cf28059be | refs/heads/main | 2023-03-20T15:55:26.480353 | 2021-03-16T16:33:07 | 2021-03-16T16:33:07 | 348,417,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 219 | rd | Target-class.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\docType{class}
\name{Target-class}
\alias{Target-class}
\title{Buildable target}
\description{
This is an abstract class for defining buildable targets.
}
|
a967c7b12479229f7bd10b7a70fca1cbe24c0b5c | f721abfc612b92538a6a0e9897fffdc21b247f0f | /prediction2.R | 813b24b62463c8be05a3712a635f72eb9bf57587 | [] | no_license | pchoengtawee/Kaggle_RedhatProject | d33f6a0603ae6357f76351580925b0beaa3d82a4 | f971590eaffed6ab1b64c19244cdf26dc3c50878 | refs/heads/master | 2020-05-29T08:51:04.440891 | 2016-09-24T17:46:59 | 2016-09-24T17:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,277 | r | prediction2.R | #set.seed(11111)
set.seed(123)
load("data_prep.RData")
library(caret)
library(data.table)
library(ROCR)
library(OptimalCutpoints)
#str(data_type1_tr)
data_type1_tr = lapply(data_type1_tr, as.numeric)
data_type1_tr = data.frame(data_type1_tr)
data_type1_tr$outcome = as.factor(data_type1_tr$outcome)
X = c(1:dim(data_type... |
a497131f63e5b16ce3fdd16654a36831a04e0c95 | 98550ab8b21f1d86f5954886911fc01498ef7699 | /man/summary.bioconductorRank.Rd | f3d9efb6fb705197dedd0e6c68392b6352f168d2 | [] | no_license | lindbrook/packageRank | a68ee94e0ed3621e7f10239f1eb2d12dbb7c6530 | a83ebfaa05f6ee82b7e5ae76cf0b8a4c296b4dfb | refs/heads/master | 2023-08-04T21:18:01.261280 | 2023-08-01T22:00:29 | 2023-08-01T22:00:29 | 184,319,415 | 27 | 1 | null | 2023-08-01T22:00:20 | 2019-04-30T19:25:45 | R | UTF-8 | R | false | true | 534 | rd | summary.bioconductorRank.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bioconductorRank.R
\name{summary.bioconductorRank}
\alias{summary.bioconductorRank}
\title{Summary method for bioconductorRank().}
\usage{
\method{summary}{bioconductorRank}(object, ...)
}
\arguments{
\item{object}{Object. An object of class ... |
89d3e6c0d61838fb6d8031ac4acbc5c2ed990f29 | 1bcd87514ea143f57f5f4b338ad50f2a8d148134 | /man/runireg.Rd | ebdc1074e6a08b6157c0ff1778be566d44ffb32e | [] | no_license | cran/bayesm | b491d7f87740082488c8695293f3565b2929f984 | 8a7211ff5287c42d5bc5cc60406351d97f030bcf | refs/heads/master | 2022-12-10T10:51:14.191052 | 2022-12-02T09:10:02 | 2022-12-02T09:10:02 | 17,694,644 | 19 | 15 | null | null | null | null | UTF-8 | R | false | false | 2,475 | rd | runireg.Rd | \name{runireg}
\alias{runireg}
\concept{bayes}
\concept{regression}
\title{IID Sampler for Univariate Regression}
\description{
\code{runireg} implements an iid sampler to draw from the posterior of a univariate regression with a conjugate prior.
}
\usage{runireg(Data, Prior, Mcmc)}
\arguments{
\item{Data }{list(... |
33ad77bc2afb2711ae42f0ead5a30d3de3eec960 | 1b8da9dd574d6680b7b48cec83f29aa73e217f13 | /R/listFormula.R | ae7d5fd1c0312b94ba304c785a264f89651f22cd | [] | no_license | angelgar/voxel | f7d11459b9877e7cc969c049eb212b2d287abfcd | 4e8ebbcd82094eaae1a213a33d735bfd20405097 | refs/heads/master | 2020-07-05T17:51:45.909305 | 2019-12-20T20:17:10 | 2019-12-20T20:17:10 | 66,569,820 | 9 | 4 | null | 2018-04-18T22:33:40 | 2016-08-25T15:23:46 | R | UTF-8 | R | false | false | 502 | r | listFormula.R | #' Create list of Formulas for each voxel
#'
#' This function is internal.
#' This function creates list of formulas that will be passed for analysis.
#' @param x Index of voxels to be analyzed
#' @param formula covariates to be included in the analysis
#' @keywords internal
#' @export
#' @examples
#'
#'
#' x <- 1... |
3a31c076272ad361b20feab6f0cb2da9d28ee259 | 3a42630716521b58a20d5a9445fd3eb1007188aa | /man/HKernElementKAttribute.Rd | 00ce7ec6d2742a9847bc9fa0edcc9b9e24d7083b | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | mslegrand/svgR | 2a8addde6b1348db34dee3e5145af976008bf8f0 | e781c9c0929a0892e4bc6e23e7194fb252833e8c | refs/heads/master | 2020-05-22T01:22:16.991851 | 2020-01-18T03:16:30 | 2020-01-18T03:16:30 | 28,827,655 | 10 | 0 | null | null | null | null | UTF-8 | R | false | true | 722 | rd | HKernElementKAttribute.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/doc_RegAttrPages.R
\name{HKernElementKAttribute}
\alias{HKernElementKAttribute}
\title{k}
\description{
Sets an how much to decrease the spacing between the two glyphs in the kerning pair
}
\section{Available Attribute Values}{
The value is... |
703c73024d083c6e4d857f7ac6818b63682c22d2 | 5e0de3032d5d3de384396a52bee98d894365af8b | /01-twitter-data-collection.r | 6e4bbd1bfb548dcf06ada289ffbdd63e632ffa83 | [] | no_license | davidpupovac/social-media-workshop | de3d8b758258ddbddac70a7cfea8721689ee00ac | 6c88a8e0e0e0505e17ecc061edf2c1bbd0ec8c16 | refs/heads/master | 2021-01-22T16:11:21.747918 | 2015-02-17T17:20:16 | 2015-02-17T17:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,690 | r | 01-twitter-data-collection.r | ################################################################
## Workshop: Collecting and Analyzing Social Media Data with R
## February 2nd, 2015
## Script 1: Collecting Twitter data
## Author: Pablo Barbera, NYU, @p_barbera
################################################################
setwd("~/Dropbox/git/soci... |
e3fc2f3f6de289f68a400ff13e6e2efbdba120ce | 859a2bdab8ba9943fffde77a0a930ba877c80fd9 | /man/extract_trinucleotide_context.Rd | 0ef7d6f4d4b3165cd917a1ebccafc72b244bdff2 | [
"MIT"
] | permissive | alkodsi/ctDNAtools | e0ed01de718d3239d58f1bfd312d2d91df9f0f0d | 30bab89b85951282d1bbb05c029fc333a139e044 | refs/heads/master | 2022-03-20T11:47:06.481129 | 2022-02-20T11:25:48 | 2022-02-20T11:25:48 | 208,288,617 | 30 | 9 | null | null | null | null | UTF-8 | R | false | true | 1,128 | rd | extract_trinucleotide_context.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_trinucleotide_context.R
\name{extract_trinucleotide_context}
\alias{extract_trinucleotide_context}
\title{Extracts the trinucleotide context for a set of mutations}
\usage{
extract_trinucleotide_context(mutations, reference, destrand ... |
ae9abb417ec3db902024152937ee893e7531208b | ba07f5cbc690640115108e4ee07b46ef8340e5fe | /DA3-labs/lab2/code/Ch16_airbnb_prepare_london.R | a32001d020fa3ca48162e0e790273e353bf6eadf | [] | no_license | ozkrleal/london-prediction-r | 08a16f4c6b3416d57d3b2cea24b10c797eafed41 | f81488a92dae37b7e54074d6ebb76b62f95fbfa7 | refs/heads/master | 2020-12-20T13:12:59.718332 | 2020-02-15T00:32:02 | 2020-02-15T00:32:02 | 236,085,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,558 | r | Ch16_airbnb_prepare_london.R | ############################################################
#
# DATA ANALYSIS TEXTBOOK
# MODEL SELECTION
# ILLUSTRATION STUDY
# Airbnb London 2017 march 05 data
#
#
# WHAT THIS CODES DOES:
# Transform variables and filter dataset
# Generate new features
############################################################ ... |
1922d49cde5e32e503148438748f6c4686416c7d | 33402080460833242c40f141cbff1b9e1bb5041d | /join-network-spatial-data.R | 438b27c11ecb98fc0c2f9c00f1c0ef5b127aa0f9 | [] | no_license | dylanbeaudette/network-paper-2020 | 4e8df3ba646c5518bb5b06a7a37b03a415030b11 | 59bdabae8b918738cf3e1e0be8dde67b87520a0b | refs/heads/master | 2022-05-30T16:30:48.976299 | 2022-05-12T20:10:53 | 2022-05-12T20:11:05 | 251,530,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,378 | r | join-network-spatial-data.R | ## 2020 Soilscapes / Networks
## P. Roudier, D.E. Beaudette, Dion O'Neal
library(igraph)
library(RColorBrewer)
library(sharpshootR)
library(aqp)
library(rgdal)
library(rgeos)
library(sp)
library(sf)
library(raster)
library(rasterVis)
library(ggplot2)
library(stringr)
library(dplyr)
source('local-functions.R')
# l... |
76b62d5faeba2c75fa52a80fcab20d2c430ee498 | 6425368575e5e96942cec0eaa07428acd047fb88 | /R/old/gen_graphs_ttest/attach_sw_labels/driver_Controls.R | ac669c8d010e8208ea8a11a96e2e16498ed5c1d7 | [] | no_license | emanuelepesce/dti_fmri_networks | 4ff55dc75055d12e23c7cd9bd995a2e4060f7d3e | 25c46f60f417b5b3f63286178ddc964377bf0003 | refs/heads/master | 2021-01-10T19:53:41.442692 | 2015-11-11T10:57:59 | 2015-11-11T10:57:59 | 42,808,978 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,455 | r | driver_Controls.R | #' driver_Controls
#'
#' Attach 'strong' label to all graph in a directory.
#'
#' If strong == 1 then the edge belongs to strong ties set.
#' This file use the object borda_sw_cut_objects.RData which cointains the
#' results of SW cutting procedure, done when mask has been extracted.
#'
#' Author: Emanuele Pesce
r... |
272544b795cc59121ae2cc36f939a9b7b7214258 | a9c969942e38a663babe110e085baf6fc02a2b1a | /src/library/R/install_required_lib.r | 4eca4e2ccefbf4d61ffd0dd6049954697611b6af | [
"BSD-3-Clause"
] | permissive | TTSHR/econ-project-R-Ning | 034c2f4928d9513fff45daa288a5f432ce85e1e3 | ced36462ff33e5b1af43052fe21ad7e9dffc02a0 | refs/heads/master | 2021-01-01T19:11:18.769125 | 2015-08-26T14:35:07 | 2015-08-26T14:35:07 | 41,430,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 569 | r | install_required_lib.r | '
The file "install_required_lib.r" checks whether a library
can be found in "PATH_OUT_LIBRARY_R" and installs it if this
fails. In case of failure, we require an Internet connection.
'
source("project_paths.r")
cran <- "http://cran.rstudio.com/"
lib_name <- commandArgs(trailingOnly = TRUE)
.libPaths(PATH_OUT_LIB... |
52f218b89953d13db971b024c31a48f1d242d95c | 0f3fa0bc7b1de9c5f6f53bf2d09ad761a100cc20 | /Module Exercises/Module 3 - Exercises.R | 81df15501d3361a43125ee41d180411dffed9a10 | [] | no_license | Mikkelgbc/Tools-for-Analytics-R-Part | 36874476de203b10013e3d4d5d59782fd58368e1 | 5d3824c84fe4235ebf1e849e770b96e53e9e3b73 | refs/heads/main | 2023-03-07T23:51:57.946396 | 2021-02-14T17:01:40 | 2021-02-14T17:01:40 | 303,754,252 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,071 | r | Module 3 - Exercises.R | # Module 3
# 3.10.1 Exercise (group work)
# Before you start, it is a good idea to agree on a set of group rules:
# Create a shared folder and project for your group.
# Agree on a coding convention.
# Agree about the rules of how to meet etc.
# 3.10.2 Exercise (install packages)
# 1. Install the package d... |
6d454daf396aa21899c8a0c6f2c30bd0974ff3b2 | 3f6abec568a7d1804534bc16f4421e817560d122 | /Kagglemachinelearning/xgbfunc.R | 9452bfe886ae0f7f2275c2e18ac78875d75e3dcd | [] | no_license | HHA123/Examplefiles | adc38a24d887d6a3157f67f5f90eb8adeae698e3 | 2a65a25ab146020a087b5d36ed3c04fee1acc1e1 | refs/heads/master | 2020-12-24T15:22:15.659339 | 2015-09-02T13:24:20 | 2015-09-02T13:24:20 | 41,799,286 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,676 | r | xgbfunc.R | #xgboost crossvalidation model for kaggle competion:Springleaf
library(xgboost);
library(verification);
xgbfunc <- function(data2){
set.seed(666)
data2 <-data.frame(data2)
k = 4
#n = floor(dim(data)[1]/k)
#cv.err = rep(NA,k)
target <- length(names(data2))
#choping up the training set in k subset... |
4910850285478504b293f6e6c1e04ebd50d63443 | 3ee59de4098c0a5087e09569b0aff28186d826a8 | /meetup/app.R | 3a666ca3955e2d3f5c5fc66f5f2541ada117ce40 | [] | no_license | svarn27/shiny-server | 89f6a6dc82a7a8c6dff098aa5757d7aee5424b47 | e2d7c665b311b663104bcb43fe98fd6c590ba42d | refs/heads/master | 2019-08-09T16:22:37.038727 | 2017-12-04T15:44:43 | 2017-12-04T15:44:43 | 66,736,750 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 450 | r | app.R | library(shiny)
ui <- fluidPage(
h2("Meetup - Data Analysis using R/Shiny"),
a("Presentation",
href="https://docs.google.com/presentation/d/1v7rt7Mz1Gd7gm2M1YoMjGqhw0cOxHzPH-30CMvr2WZ8/edit?usp=sharing"),
br(),
a("Graphing Example", href="/example2"),br(),
a("Clustering Example", href="/example1"),br(),... |
0d8d0c9041a6e72c73f3822603bab7caadaf0769 | 45c6daee8252befbc9c8812ef7b7a87ae4876e89 | /Quantative Reasoning/Week 6/Week 6 Code 2.R | a8322cad7797a21bb94ba014f7a31e2d75cdeea8 | [] | no_license | mrmightyq/Quantitative-Reasoning-Bayesian-Frequentist-Stats- | 327a46796c02ad1cb91bbf2c9094f2a4c9e6b8c6 | 9d6f9be7ce89cf698135fbaf97d4aa20133bec66 | refs/heads/main | 2023-06-24T01:37:01.412281 | 2021-07-18T21:38:27 | 2021-07-18T21:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 309 | r | Week 6 Code 2.R | #Week 6 Asycn Code
library(BayesFactor)
chickBayesOut <- anovaBF(weight~feed, data=chickwts)
chickBayesOut #Good because odds ratio
## 3:1 not worth mentioning, 3:1-20:1 positive evidence for favored hypothesis
## 20:1 to 150:1 strong evidence
## 150:1 + very strong evidence for favored hypothesis
|
2b3829034ba3109fd179245af9d28474ea6e3e3e | e3b70a106252542597985a5df1cba35dad9bc27c | /kate_programs_v2.0/k.hbsdist.R | 91e57020dd66bc578094d5c07dd26bb7852391ed | [] | no_license | tkangk/tdm | 5749d5834264a68286c58a8532af517aec8442d1 | 5081bff9b7b5793a82d39141a4b0d0de7fd248ac | refs/heads/master | 2020-03-24T21:39:12.691526 | 2018-04-09T21:36:39 | 2018-04-09T21:36:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,123 | r | k.hbsdist.R | #k.hbsdist.R
# Weighted Average Logsum
mf.hsls <- HBS.lsLowWeight*mf.hslsl + HBS.lsMidWeight*mf.hslsm + HBS.lsHighWeight*mf.hslsh
east2westhill<-as.matrix(array(0,c(numzones,numzones)))
east2westhill[ensemble.gw==2,ensemble.gw==1]<-1
westhill2east<-as.matrix(array(0,c(numzones,numzones)))
westhill2east[ense... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.