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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d40ea69e6a8b74da71597be6e08756d402d804d6 | c4b1763f85d9eca3ed919a6392e237b17f018929 | /man/wrspathrow.Rd | 048ef7caf18ff90572317dab2cf796e3820ae616 | [] | no_license | cran/wrspathrow | b69b7644cbd584f3ecf6573174ed78d17bd582bc | b92e07936950a9783d4304bc7905aaa12c3f9f6f | refs/heads/master | 2021-01-01T17:57:29.424727 | 2014-02-12T00:00:00 | 2014-02-12T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 138 | rd | wrspathrow.Rd | \docType{package}
\name{wrspathrow}
\alias{wrspathrow}
\alias{wrspathrow-package}
\title{wrspathrow}
\description{
wrspathrow
}
|
de02d84e8bd156db890b889f4a8ed01d3a5fcf72 | 120de1ae49850f8212efc39ab9fa266f175dc4c6 | /man/rquaternion.Rd | c053125efce68b408d1c92faee303a52e5e0df7e | [] | no_license | vsrimurthy/EPFR | 168aed47aa2c48c98be82e3d8c833d89e1d11e04 | 544471a8d0cf75c7d65a195b9f6e95d6b1d6800f | refs/heads/master | 2023-08-02T14:50:25.754990 | 2023-07-29T13:56:39 | 2023-07-29T13:56:39 | 118,918,801 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 318 | rd | rquaternion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EPFR.r
\name{rquaternion}
\alias{rquaternion}
\title{rquaternion}
\usage{
rquaternion(x)
}
\arguments{
\item{x}{= number of quaternions desired}
}
\description{
n x 4 matrix of randomly generated number of unit size
}
\keyword{rquaternion}
|
4563e024ab2ec36128c13472b63d5017fd63b1d6 | 91a77be68e5ad1aa16e9a2681ba6fb090c118e4d | /man/proportions.end_mark_by.Rd | 8d07922513de7f22c2aab74d6196a91ece0e8c6a | [] | no_license | cran/qdap | e42f194e98a38eb02084eb6ac92dd587024b8540 | 5f032a6a8bf41255cd2547b11325ed457a02a72a | refs/heads/master | 2023-05-25T03:10:36.324940 | 2023-05-11T05:10:02 | 2023-05-11T05:10:02 | 17,698,836 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 413 | rd | proportions.end_mark_by.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/end_mark.R
\name{proportions.end_mark_by}
\alias{proportions.end_mark_by}
\title{Question Counts}
\usage{
\method{proportions}{end_mark_by}(x, ...)
}
\arguments{
\item{x}{The end_mark_by object.}
\item{\ldots}{ignored}
}
\description{
View \... |
a43b971b8474c0ccd9895ea3b3b8184abf4f8eb2 | 0dddd513e0dc84f80c46ddb2e1c7b4d6a050993d | /resources/cellcounts/houseman.R | 80df035ce8498b4f44dbf69364cc1600ed349aba | [] | no_license | AST87/godmc | 843542337e9f51fa7c96c83dd1070bac166cd270 | 3dd1949ede6500e134652e1b98a6f8d8a35e116c | refs/heads/master | 2022-12-04T04:59:35.495587 | 2020-08-21T09:26:13 | 2020-08-21T09:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,478 | r | houseman.R | # Adapted from https://gist.github.com/brentp/5058805
# Make a rank transformed methylation set
# Make a cell-count-adjusted and rank transformed methylation set
# These values will not be 0-1
source('resources/cellcounts/wbcInference-V112.R')
##
arguments <- commandArgs(T)
methylationfile <- arguments[1]
cellco... |
17077c1955bc82e2e43f609907f3bafdac03c81d | 85147cd2189fdb0735a41e90a25799d594fbedfc | /Research Paper_Soichi/code/T5 with Tests.R | 1f7e997c98541f153b59fc1b180683ae098d3a97 | [] | no_license | skajikaji/hello-world | 7870f523fc35711327acd91a8b1119229b41e787 | d0a7cff6e45556d953db1536f32652ccce89c952 | refs/heads/master | 2021-01-17T11:57:05.140970 | 2017-03-11T22:37:38 | 2017-03-11T22:37:38 | 84,053,205 | 0 | 0 | null | 2017-03-10T17:17:57 | 2017-03-06T09:15:28 | null | UTF-8 | R | false | false | 5,373 | r | T5 with Tests.R | #rm(list=c("D", "lag.fhpolrigaug", "lag.fhpolrigaug."))
require(plyr)
#T5.C1
TwoSLS=plm(fhpolrigaug~lag(lrgdpch)+factor(year)+factor(country)|.-lag(lrgdpch)+lag(nsave, 2)+factor(year)+factor(country), data=Five, index = c("code","year"),subset = sample =="1", model = "within", effect="individual")
#Extract obs... |
97c6773ddc2c47dc5ff6f61228f86bb70f944e1e | 4aa3258f6d4299229ac4571a0f8a2f379725c787 | /man/SlagPreprosess.Rd | fdc01f34b6879223de8a75ba01fcd3c044b0e67d | [] | no_license | Rapporteket/Hjerneslag | 63eb024fd4dd23e5c2ffb94626a0b0710b4ebb00 | 8e31d9c200b6f2abb7d0a843f870ccd812e92b80 | refs/heads/rel | 2020-04-12T09:37:44.384385 | 2019-09-05T09:03:33 | 2019-09-05T09:03:33 | 53,346,839 | 0 | 1 | null | 2016-08-23T07:11:04 | 2016-03-07T18:01:03 | R | UTF-8 | R | false | true | 656 | rd | SlagPreprosess.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SlagPreprosesser.R
\name{SlagPreprosess}
\alias{SlagPreprosess}
\title{Preprosesser data fra Hjerneslag}
\usage{
SlagPreprosess(RegData = RegData, reshID = reshID)
}
\arguments{
\item{RegData}{En dataramme med alle nødvendige variabler fra re... |
f69eadf31603551029197b2ec93d424125f0af9d | a82f3bbae551066b5c331b34abde9c3fe5596028 | /man/decomp.Rd | 200276256a2a72c078523fbd4c38aa90864aad90 | [] | no_license | xiangzhou09/rwrmed | cb69579e4d3b1e3f6439263a1b61b3bdfbc8edd6 | 9f80f387797a5964888410c3da0b56cb8ed26e47 | refs/heads/master | 2020-05-18T04:49:24.005141 | 2019-04-30T19:20:30 | 2019-04-30T19:20:30 | 184,185,920 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,684 | rd | decomp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/decomp.R
\name{decomp}
\alias{decomp}
\title{Causal Effect Decomposition Based on a Fitted \code{rwrmed} Model}
\usage{
decomp(object, a0 = 0, a1 = 1, m = 0, bootstrap = TRUE,
rep = 250)
}
\arguments{
\item{object}{An object of class \code{... |
07080a3928f3fcdd8562d0b4d05c08bb478c9647 | 9b7fa6fd3ff07365a824b6e2725dfe6e7e6adb51 | /plot3.R | ecd561c9e187fdbd24bb7f79122eb2edc18b6cd9 | [] | no_license | NancyChang/ExData_Project2 | 31a769f568a48ae9f5f2ef494d228de637b5d663 | 4e42621ba0491662370de8b68124c1b7576788af | refs/heads/master | 2016-09-06T05:52:52.956148 | 2015-01-28T17:04:04 | 2015-01-28T17:04:04 | 29,081,451 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,332 | r | plot3.R | #download zip file and unzip the files into working directory
temp <- tempfile()
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip",temp)
list.files(unzip(temp,exdir=".",overwrite=TRUE))
unlink(temp)
#check if the files exist and read the files into R
if (file.exists('./summarySCC_PM25.r... |
444c9bf888c71d5c2ea85880502473cb347f7202 | 4fc48d3f06d822656d4e52fc323be81ad939bff9 | /R/io.R | 3a2e91ef977f6bae00ace62b1b79e8f2ed8ccb00 | [] | no_license | assaron/r-utils | bb4b7592a6a33b0f67a03e4d1687dbf916397e05 | 91eab12fb69b2beed96b4c46ba9f9e25d440de9e | refs/heads/master | 2020-05-22T04:23:05.733484 | 2018-10-27T12:39:24 | 2018-10-27T12:39:24 | 27,912,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,468 | r | io.R | options(stringsAsFactors=F)
#' @export
read.table.smart <- function(path, ...) {
fields <- list(...)
conn <- file(path)
header <- readLines(conn, n=1)
close(conn)
sep <- "\t"
for (s in c("\t", " ", ",")) {
if (grepl(s, header)) {
sep <- s
break
}... |
af5d21321e96cf43a872a5f8dcadc4cf55d7cdf2 | 9363049a3b860e7237a54131e8e4e33ab571a6b2 | /app_project/ui.R | 1747a8dddf83e010a09b2a0299a21e2f1e6e054b | [] | no_license | travs/datasciencecoursera | 0c08ad301bc721f6b14d3a343627cfdd13b96fe8 | 7757aeb4d2e65e132e66f3e95289c9cca045fe50 | refs/heads/master | 2021-01-20T02:20:21.309902 | 2014-09-21T21:17:18 | 2014-09-21T21:17:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 726 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel("Population of Newfoundland"),
sidebarPanel(
p("Click on a gender, select a year on the slider and watch the plot change!"),
p("The graph on the right represents the population of Newfoundland across age groups."),
radioButtons("gen", "Gender:",... |
f5b76ae9fc548776335f971df5cf63dabb1c5fe1 | d4aa0c3d335e7a058936140a489f8192de8fd06e | /plot2.R | efb1091315bb93050d7b2aa178725d03153d2a2e | [] | no_license | gaelberon/ExploData-Week4-ProgrammingAssignment | c87825803db293cda5b3cc2d8778d53aea35b82d | e931989eb4c3f49f5c73978531ad836c21e96d39 | refs/heads/master | 2021-01-19T05:44:45.654238 | 2017-08-17T08:44:15 | 2017-08-17T08:44:15 | 100,581,443 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,905 | r | plot2.R | # COURSERA - DATA SCIENCE
# EXPLORATORY DATA - WEEK 4
# PROGRAMMING ASSIGNMENT
## The R file 'plot2.R' aims to answer the following question:
## "Have total emissions from PM2.5 decreased in the Baltimore City, Maryland
## (fips == "24510") from 1999 to 2008?"
## summarySCC_PM25.rds (PM2.5 Emissions Data): This file ... |
41a46cad90dc783e4d0a9969d6900ab9adbbdf3b | 5a7f7ebee0e458863e1da9d2a0fcc93b600d1786 | /man/getName.environment.Rd | 261abb246bed579e28f20496546e6539a6f6c1f1 | [] | no_license | HenrikBengtsson/R.oo | 68071bacb43afe2a46201aea0350a3597ee19e6c | 4101a141b2fa49a43a10df99f56c180ba2c662e6 | refs/heads/master | 2023-01-06T23:48:54.872999 | 2022-06-12T18:04:23 | 2022-06-12T18:04:23 | 19,437,907 | 20 | 1 | null | 2018-05-02T04:51:57 | 2014-05-04T22:47:54 | R | UTF-8 | R | false | false | 958 | rd | getName.environment.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% getName.environment.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{getName.envir... |
71c44173c1cfd701c6a47a6768c1b661e734ebd4 | ecc14c4cf0997cfeebcf18375cb6b41eec27e842 | /R/predict.knn.R | 8dfc9f815c1a68b86c24ee06b9ffcc65d0a89a0b | [] | no_license | cran/knnTree | f5fb8d7f2306f9713090b201dda974070024794c | 7ee46eb731e119379369c49400e4f63274d294ae | refs/heads/master | 2021-01-01T05:39:15.332980 | 2008-05-06T00:00:00 | 2008-05-06T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,149 | r | predict.knn.R | predict.knn <- function(object, test, train, theyre.the.same = FALSE, return.classifications = FALSE,
verbose = 0, ...)
{
#
# predict.knn: predict from an object with class "knn."
#
# Arguments: object: object of class knn.
# test: Items to be predicted
# train: Things to use to do... |
ad5696080a1854dd729be0093ab4635e56d4175a | cf0d12010f7863fd6ac85c370ef6f7318eec54bd | /rankhospital.R | 4a0c712548f1c9181d488ce98d9f93f121ec9eb4 | [] | no_license | jorgenquaade/ProgAssignment3 | 278430ce760f72cdfa58eca2d98ac7b346934810 | fc3cf9b10cbe547e685287425e86b2a16dc509a7 | refs/heads/master | 2021-01-10T09:20:36.253103 | 2015-10-02T10:09:38 | 2015-10-02T10:09:38 | 43,416,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,846 | r | rankhospital.R | ## Rank hospitals according to deathrate and return specific rank
## For readability a lot of the statements are broken into multiple lines
rankhospital <- function(state, outcome, num = "best") {
## Initialize parameters we want to be sure are dataframes
inputData <- data.frame()
stateData <- data.frame()
rankedD... |
dd519b786c65b4e1ca07930206bec136f2249ccc | 27d6a145454a231f1f95560cbbbd2e28177c2ab9 | /arules-analysis.R | ab8dee0c1c18d9451ef518b47110667bf8b008c4 | [] | no_license | TuxML/compilation-analysis | d5bb76d1d9dcfde3d2a6bf4c8d99e90b1d79643c | e6105852719f11fbb8466c25396813dec3ca6278 | refs/heads/master | 2021-09-26T02:08:57.828119 | 2021-09-20T09:30:19 | 2021-09-20T09:30:19 | 179,365,612 | 0 | 3 | null | 2019-04-19T17:15:33 | 2019-04-03T20:30:49 | Jupyter Notebook | UTF-8 | R | false | false | 1,033 | r | arules-analysis.R | library(readr)
library(arules)
library(dplyr)
df <- read_csv('/Users/macher1/Documents/SANDBOX/compilation-analysis/dataset_after_encoding.csv',
col_types = list(
OPENVSWITCH = col_factor(c("0", "1", "2"))
))
# df <- read_csv('/Users/macher1/Documents/SANDBOX/tuxml-datase... |
63f0a439047b29934acd83eb94cc6345b7e9570c | 5ea0c9249859bf4aa5222ffbf6eb6ff3ccec8de0 | /R/fit_house.R | 38ab16b50b0fe7a876ae8c2156e6abc58f59a97a | [] | no_license | alexpavlakis/yapa | 287eabfc7a1d01f781233794f1c8d98cd22b36c1 | ac91bba669a481295185eec68de0e54d0521599b | refs/heads/master | 2021-03-28T16:49:16.491998 | 2020-11-02T20:28:40 | 2020-11-02T20:28:40 | 247,876,792 | 0 | 1 | null | 2020-03-21T00:49:00 | 2020-03-17T04:10:02 | HTML | UTF-8 | R | false | false | 10,017 | r | fit_house.R |
library(tidyverse)
library(rstan)
options(mc.cores = parallel::detectCores())
rstan_options(auto_write = TRUE)
source("R/process_polls.R")
#source("R/house_data.R")
prior_data <- read_csv("data/prior_data.csv")
gen_res <- read_csv("data/gen_res.csv")
if(!exists("exec_date")) exec_date <- Sys.Date()
generic_ballot <... |
0e55d81e21733bd70d7df1f74de33ad894573d38 | 348fa0dc8997772fb008e81fcfbd2f76275a1aa0 | /R_02.R | b2b6b852ee77e4ceceedb32bb1c69ee92150daec | [] | no_license | LiamMJ/15 | 02ac0471298836327c6e83401bd6c05747d41e1a | 4be64283f05dddbed98078ce005041c5705df81f | refs/heads/master | 2020-03-27T23:36:48.673171 | 2018-09-04T12:44:40 | 2018-09-04T12:44:40 | 147,332,627 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,542 | r | R_02.R | # 15-2. 변수 타입
# 변수에는 여러 가지 타입(Type, 속성)이 있음
# • 함수에 따라 적용 가능한 변수 타입 다름
# • 분석 전에 변수 타입이 무엇인지 확인 필요
# • 함수 실행했을 때 오류 발생 또는 예상과 다른 결과가 출력되면 변수 타입 확인 후 함수에 맞게 변경
# • 1. 연속 변수(Continuous Variable) - Numeric 타입
# – 값이 연속적이고 크기를 의미
# – 더하기 빼기, 평균 구하기 등 산술 가능
# – ex) 키, 몸무게, 소득
# • 2. 범주 변수(Categorical Variable) - Factor 타... |
4c74c0a3e92b17c231529f60034e3674ec9b69a4 | 4838ff30f4cf7fc1d6a268a1f28f122dea90d056 | /man/PopFlyAnalysis.Rd | 352b9f31f8828bf49e8806b760d5f98d4515c00e | [] | no_license | BGD-UAB/iMKT | 319ff35016ba54108fe1dc3ce64e90e623b733b0 | 1fb62426f850c4423c042f027fd9fb844f56304b | refs/heads/master | 2021-06-15T23:20:46.913981 | 2021-02-15T12:07:05 | 2021-02-15T12:07:05 | 144,316,815 | 8 | 2 | null | 2019-04-29T13:25:01 | 2018-08-10T17:51:58 | R | UTF-8 | R | false | true | 2,208 | rd | PopFlyAnalysis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PopFlyAnalysis.R
\name{PopFlyAnalysis}
\alias{PopFlyAnalysis}
\title{iMKT using PopFly data}
\usage{
PopFlyAnalysis(
genes = c("gene1", "gene2", "..."),
pops = c("pop1", "pop2", "..."),
cutoff = 0.05,
recomb = TRUE/FALSE,
bins = 0,
... |
3768a9fed94feeca80ac5d878a24a04a063ad9dd | 6baf4bcae9d076f640f622f5bff282c2c9c13b67 | /mrsb_annotate_orthology_2015-07-10.R | 3834c59630bf1f2d018e1e6e7a33795e6f38c2d7 | [] | no_license | msaul/three_species_orthology | b7f6a0aa34e0e0603ca95f525b056717dfdd2a05 | 03e5f9dadda721c12d6b9fbe27aabb86bfdc430c | refs/heads/master | 2021-09-03T22:46:06.557511 | 2018-01-12T16:12:15 | 2018-01-12T16:12:15 | 117,261,083 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,706 | r | mrsb_annotate_orthology_2015-07-10.R | # 2015-07-10
# Michael C. Saul
# msaul [at] illinois.edu
# MRSB orthology annotation
load("~/Desktop/mrsb/orthology/OrthoDB/three_species_OrthoDB_parse_2015-04-07.Rdata")
stopifnot(require("biomaRt"))
# Setting biomaRt to generate annotations from Ensembl gene IDs (the row names)
mm_maRt = useMart(biomart = "ENSEMB... |
52fbc04f34c36077ca255854d24a2295dcf06f6a | dce8898cc3c560d96e5709cc9f91c5e385a54a77 | /FA.R | 6e69726b1724b9d55c4f75405a2c536ec91ac2a7 | [] | no_license | simaonogueira101/CLSBE_BusinessStatistics-R_Assignements | 4b36d0dc4bf8177c9901647a40ca1f4ed48fa77a | f51e27b89bab0f5a181d4c0cb497282f030193f3 | refs/heads/master | 2023-02-04T02:15:41.844230 | 2020-12-20T21:30:09 | 2020-12-20T21:30:09 | 307,807,212 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,628 | r | FA.R | # Turn off scientific notation
options(scipen = 999)
# Install required packages
# install.packages("lm.beta")
# Load required packages
library(lm.beta)
# Load DF
# FAdatabase <- read.csv("WA_ESSDatabase.csv", header = TRUE)
dependent_var <- "trstplc"
iteration_num <- 4
# Columns to be excluded from analysis
exclu... |
696114fb00037834ec0e49775d746d997498ec86 | ceb61818823e8f275b86b394137ddc87e0bf6283 | /IAM65/man/iamArgs.rd | 7ab62cc3aa6696562980a3029cf47a850864367e | [] | no_license | florencebriton/IAM_Dvt | 7628e4b15f89849b4b900d739dba63d52bffd5ae | c4cdbbd99cf4b93d143547e7f89532af12519c1d | refs/heads/master | 2020-04-28T08:34:04.663339 | 2019-03-12T04:24:00 | 2019-03-12T04:24:00 | 175,133,130 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 332 | rd | iamArgs.rd | \name{iamArgs-class}
\docType{class}
\alias{iamArgs-class}
\title{Class "iamArgs"}
\description{ToDo}
\section{Slots}{
\describe{
\item{\code{desc}:}{object description}
\item{\code{arguments}:}{ToDo}
\item{\code{specific}:}{ToDo}
}
}
\author{Mathieu Merzereaud}
\examples{
showClass("iamArgs")
}
\keywor... |
0a53da4909464a364d159639d2067e75409fc8e5 | 410a2dfcbe74978eb10912a3dfe74bff3d136357 | /man/designPlot.Rd | a95da696b17f002399e151dd605fa287aa6a001b | [] | no_license | cran/dae | 7ee9c2ad4fcb3c97b846eb76ed560c20c591a977 | df5b45cc69b9984473f254891510687f2eb114ef | refs/heads/master | 2023-08-18T19:51:15.580290 | 2023-08-07T15:50:14 | 2023-08-07T17:30:45 | 17,695,368 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,809 | rd | designPlot.Rd | \name{designPlot}
\alias{designPlot}
\title{A graphical representation of an experimental design using labels stored in a matrix.}
\description{This function uses labels, usually derived from treatment and blocking factors from
an experimental design and stored in a matrix, to build a graphical representation of... |
82a659caaacf0f974a7837ab6ea422c0d373a215 | fdc11ac8fd91a0e3f384c5be41422900379e768f | /covid_shiny_v5.1_summary_dashboard_dep.R | cdf3e6cc510c52c135b16bbb5c0ac44e091efcca | [] | no_license | kylebennison/covid-19-dashboard | a4c28c12415bb3d068609c6ac7d06889890e065b | 44347bc145fc4e20f8c1d5769d3d12ee9f4c1ad4 | refs/heads/master | 2022-11-08T19:22:21.650759 | 2020-07-02T16:20:06 | 2020-07-02T16:20:06 | 268,882,880 | 0 | 0 | null | 2020-07-01T16:14:07 | 2020-06-02T18:50:50 | R | UTF-8 | R | false | false | 46,830 | r | covid_shiny_v5.1_summary_dashboard_dep.R | ### Load necessary packages ###
library(shiny)
library(tidyverse)
library(lubridate)
library(scales)
library(DT)
library(jsonlite)
library(plotly)
library(htmlwidgets)
library(gt)
### Load theme ###
#Staturdays Colors
staturdays_col_list <- c(
lightest_blue = "#5c6272",
lighter_blue = "#4c5872",
light_blue = "#39... |
63d46caa7f9c092e131411e7baec5dfdbf9c1e91 | fc45ee77e310e641c1164db159865e5aea355560 | /man/ExpectationGaussianSufficientStatistics.Rd | cdd34060a8c9b219bda835c747afe74245103cb2 | [] | no_license | jatotterdell/varapproxr | 2baee2d0c07a96ebae7ff499293903e9e0c91df8 | b2e9105894e1a9f2ac7366b84d9ed701e8a5cf21 | refs/heads/master | 2023-07-20T15:15:23.772555 | 2023-07-14T03:35:33 | 2023-07-14T03:35:33 | 172,455,526 | 1 | 6 | null | null | null | null | UTF-8 | R | false | true | 444 | rd | ExpectationGaussianSufficientStatistics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{ExpectationGaussianSufficientStatistics}
\alias{ExpectationGaussianSufficientStatistics}
\title{Gaussian transform natural parameters to E[T(X)] parameters.}
\usage{
ExpectationGaussianSufficientStatistics(eta)
}
\argument... |
d574a6de70bee42817cade475101be99fdf3f5b2 | f60aa173436c790a668d76d33a3a3be34011cf68 | /R/notebook.R | c2da08fd9be5ebc4a4a3fc9d1b402da43c1b4d67 | [] | no_license | MehdiChelh/shinynotebook | 8a91cb94499278f5ec1bb22649ca46219c1cebb7 | 73c2e9787897c564b0978547b02fd1bec207c253 | refs/heads/master | 2020-05-03T15:00:21.497938 | 2019-04-30T07:33:58 | 2019-04-30T07:33:58 | 178,694,186 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,199 | r | notebook.R | # Notebook's basic functions
#
# You can learn more about package authoring with RStudio at:
#
# http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
# Build and Reload Package: 'Cmd + Shift + B'
# Check Package: 'Cmd + Shift + E'
# Test Package: 'Cmd + ... |
9e208524e9e67bc294517787a5754f4d16d19937 | 05fce8fc1042ff01c7470f6b8c40f6329d6eaab8 | /SEB113_CSA.R | 335e325230d1d959ab2ca5360a2556d17e2a0c72 | [
"MIT"
] | permissive | nixsiow/CSA_113 | 52b3348444e7878fa1c450fcc1734e49767cf16c | 6aa82863eda871454a1ab042c0ee009b2826045f | refs/heads/master | 2021-01-20T21:13:21.358852 | 2016-06-12T10:58:38 | 2016-06-12T10:58:38 | 59,937,791 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,182 | r | SEB113_CSA.R | # ===== START OF SCRIPT =====
# SEB 113
# Collaborative Scientific Article (CSA)
# === Group member === #
# Last Name: Siow
# First Name: Yun Kai
# Student No.: 9598138
# Course code: SE50
# ===== Dependency check =====
## pacman, the package manager to check whether
## dependency libraries are installed, and load i... |
663bbe146cf65112e9df924ae2b345afa85a4a3f | bb3fd8e814b3210022371974c95684066034ec39 | /man/regular.Rd | fbb785d8caa79340ba040eec93302bc470e8cf18 | [] | no_license | xtmgah/tsibble | 34f9990f5db6c39552e446ebee7b399d05fa12b2 | 1c5ec296036d86cae1a4c24bc01fa9e676cd63ed | refs/heads/master | 2020-03-23T00:40:20.332753 | 2018-07-13T13:06:38 | 2018-07-13T13:06:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 659 | rd | regular.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as-tsibble.R
\name{is_regular}
\alias{is_regular}
\alias{is.regular}
\alias{is.regular}
\alias{is_ordered}
\title{\code{is_regular} checks if a tsibble is spaced at regular time or not; \code{is_ordered}
checks if a tsibble is ordered by key ... |
b686744ec5331a911d9a899cd4b8c03c58c90b28 | b1201a76b097cd057208a3799bef3bbb0e37ea6d | /dummy variables.R | 721577620c85e9aac376a9c5af9127f831dcd865 | [] | no_license | dhanapalaprudhviraj/analyticsproject1 | faf3b56cba05698cf4b552fe7d01f680a058e3cd | 243b8d58005e157e61d29366fbbf85a8b8d5a672 | refs/heads/master | 2020-03-07T03:57:40.502434 | 2018-04-02T11:04:14 | 2018-04-02T11:04:14 | 127,252,287 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 327 | r | dummy variables.R | #dummy variables
df=mtcars
df$cyl=factor(df$cyl)
df$am=factor(df$am)
summary(df$cyl)
summary(df$am)
summary (df)
m1=lm(mpg~wt+cyl+am,data=df)
summary(m1)
predict(m1,newdata=data.frame(wt=c(2,2),cyl=factor(c(4,6)),am=factor(c(1,1))))
y4=33.9908+-3.2*wt+0
y6=33.9908+-3.2*wt+-4.2*cyl6(=1)
y8=33.9908+-3.2*wt+-6.07*cyl... |
c06afaa0f892e349b8148436c2fc24597e428774 | e7c040329363e813d79b64513bb3ffb3b7573617 | /pySAHM/Resources/R_Modules/Testing/YetAnotherDebugIDrive.r | a5c9aac660d7df596fb5b45c9ebd1db679452bb9 | [] | no_license | jpocom/sahm | 800e9c62b401a11334de74cf1b903f9fc20dd886 | 9b2f764ec1bb6a01077ddd0030e6dcf26fb24867 | refs/heads/SAHM_1_1 | 2021-01-21T03:51:02.865367 | 2015-04-07T17:14:45 | 2015-04-07T17:14:45 | 33,557,074 | 0 | 0 | null | 2015-04-07T17:11:39 | 2015-04-07T17:11:37 | null | UTF-8 | R | false | false | 9,572 | r | YetAnotherDebugIDrive.r | #debug branch
setwd("I:\\VisTrails\\VisTrails_SAHM_x64_debug\\VisTrails\\vistrails\\packages\\sahm_MarianDev\\pySAHM\\Resources\\R_Modules")
ScriptPath="I:\\VisTrails\\VisTrails_SAHM_x64_debug\\VisTrails\\vistrails\\packages\\sahm_MarianDev\\pySAHM\\Resources\\R_Modules"
dir.path<-"I:\\VisTrails\\VisTrails_SAHM_x32_deb... |
6636be9f1d884f078b7ae0b47b8670194a321dc2 | 66137fe9c871c88aa344d2b61696b57822a519a6 | /run_analysis.R | 61d7588cd4f73131ce5c004b81d0901f2169abe3 | [] | no_license | ilabiga/Getting_and_Cleaning_Data_Course_Project | d392fd93ec21976007901b130f6590910214149f | 707538d8ef71c8fe4beaf02f900428b5112412ad | refs/heads/master | 2020-05-29T14:39:40.565184 | 2016-08-04T13:23:53 | 2016-08-04T13:23:53 | 64,925,190 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,017 | r | run_analysis.R | ## load the package dplyr
library(dplyr)
## before running this script please save it into the directory where the data folder UCI HAR Dataset has been saved
## now set the R working directory equal to that directory with the setwd(dir) comamnd
## READ DATA
## read 'features.txt' and 'activity_labels.txt'
## ... |
d8403d5f6f8f82a43982ec6c5b49adb715b35893 | 4c8b6df0fa874f9fa9f8c20e4598a30c9b990011 | /R/master.r | 4aa5c1ddd18c41ef6d15b3dfd00ac11b35f8af96 | [
"Apache-2.0"
] | permissive | statquant/clustermq | 071cb42e29ba29ec7f0025d8e446d6e480126a6f | ee71d865f4776ec1b0e76021820fdc04f273169f | refs/heads/master | 2023-07-03T02:24:15.136141 | 2021-06-24T08:48:32 | 2021-06-24T08:48:32 | 273,743,962 | 0 | 0 | Apache-2.0 | 2020-06-20T16:26:49 | 2020-06-20T16:26:48 | null | UTF-8 | R | false | false | 4,796 | r | master.r | #' Master controlling the workers
#'
#' exchanging messages between the master and workers works the following way:
#' * we have submitted a job where we don't know when it will start up
#' * it starts, sends is a message list(id=0) indicating it is ready
#' * we send it the function definition and common data
#' ... |
668fd9cb8d9aeec98314b140d16edd2a4df0f28d | 715c1eee20f2ce63b755f5fe32f3734778432c9c | /01_48_spineplot.R | 6d386cf7bbd7640bc545c949001e18cacb3dbcdd | [] | no_license | nikhiljohnbejoy/Rconcepts | 47dd030d10abf027338a657e7c97826cc0677798 | 321693fb423d118593b9cce0266ca52e1dcd02fd | refs/heads/master | 2022-12-01T02:28:16.322446 | 2020-07-22T03:52:05 | 2020-07-22T03:52:05 | 281,564,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 686 | r | 01_48_spineplot.R |
# main idea: creating spineplots
# width of bars = frequency of X
# height of bars = frequency of y
# Y must be a factor and is the dependent variable
spineplot(ChickWeight$weight, ChickWeight$Diet) # spineplot(x,y)
# interesting observations
# Height of bars indicates obs per diet. Diet 1 has more obs
# Width of ba... |
3c2ebb9272d9b0a02765e0f3eb2b516d850e7682 | b2d96a8590e7895501a21c52c9036fee9bde1c41 | /Artificial Intelligence/Next Word Auto Completion/task6_Next_Word.R | 717380a8febeb3cf25c5e7bcea5d8e2eed34da62 | [] | no_license | xchromosome219/Portfolio | 37264581e50e5e40fcd0c61c17c10ef02b6a4340 | f31a5f4ee835a8e59affe5dba492f0e5a8ecfa96 | refs/heads/master | 2020-03-08T14:00:20.812769 | 2016-12-18T11:51:14 | 2016-12-18T11:51:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,401 | r | task6_Next_Word.R | library(data.table)
path<-"./data"
bigram <- readRDS(paste0(path,"/smle.n2.join.rds",sep=""))
trigram <- readRDS(paste0(path,"/smle.n3.join.rds",sep=""))
quadrigram <- readRDS(paste0(path,"/smle.n4.join.rds",sep=""))
wordBank <- readRDS(paste0(path,"/wordBank.rds",sep=""))
wordBank$word <- as.character(wordBank$word)... |
83957e24e0aa9e18bbedf53dcdd8563e15cd2856 | da13d72ff7ef77cfa0cf378a86dac4f6d7fa2f94 | /plot1.R | d6ad585e48d3b650bb300c221a1f430442c7a4e3 | [] | no_license | Venks88/RepData_PeerAssessment1 | 72c9441d4a349f25777b34ed58569de897ff2695 | d20fd189ebadb8c394e09ea9eaed383bccaeaad1 | refs/heads/master | 2021-01-20T23:47:46.132843 | 2015-03-15T17:12:30 | 2015-03-15T17:12:30 | 31,823,055 | 0 | 0 | null | 2015-03-07T18:42:17 | 2015-03-07T18:42:16 | null | UTF-8 | R | false | false | 145 | r | plot1.R |
##setting the working directory
setwd("C:/Users/Venkata/Downloads/repdata_data_activity")
library(knitr)
knit2html(input = "PA1_template.Rmd") |
8a81e05532c55ab42f75ae769bc70c3bd8556fc8 | 7a01ec83c1f85b1681d9e74104978406ecd009af | /Simon/lab4_assignment1/lab4-1.R | 6837af918ed463b6a9a857c617e8c33a9c0e2dc5 | [] | no_license | adamnyberg/machine-learning | 971509bde9a44024a4196eaa6ee4c31497ee109f | 1c98d1c5799286529b2fa39f6bf120db4fda4fc9 | refs/heads/master | 2021-06-25T01:49:30.609443 | 2017-09-09T21:17:08 | 2017-09-09T21:17:08 | 72,445,761 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,282 | r | lab4-1.R | setwd("/Users/Simon/Documents/TDDE01/tdde01/Simon/lab4_assignment1")
library(readxl)
library(tree)
library(boot)
set.seed(12345)
data=read_excel("xls_state.xls")
#1.1
reorder_data = data[with(data, order(data$MET)), ]
plot(reorder_data$MET,reorder_data$EX, ylab = "EX", xlab = "MET", main="1.1 EX vs MET")
#---->regres... |
8e9fc0b2ec0ab44f2a6273d07a1a2368b1721074 | c0eb015d406f6eac1c573c1224cb754d5e9b7721 | /inst/julia/test-julia.R | 41e8df21885eec4fa8bbfaaa485760e7fca99f23 | [] | no_license | cran/jack | a115fc5b4653f07eeb93c4c25018d9c13eba3caa | ae5a01692fedee7a144f477e9f7aaf05d797a38d | refs/heads/master | 2023-07-11T02:04:12.732248 | 2023-07-04T10:30:07 | 2023-07-04T10:30:07 | 208,781,647 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,207 | r | test-julia.R | test_that("Julia", {
skip_if_not(JuliaConnectoR::juliaSetupOk(), "Julia setup is not OK")
julia <- Jack_julia()
# numerical ####
x <- c("1/2", "2/3", "5")
xq <- gmp::as.bigq(x)
lambda <- c(2, 1, 1)
# jack
alpha <- "2/3"
alphaq <- gmp::as.bigq(alpha)
expect_equal(
julia$Jack(x, lambda,... |
8d490818252b7626451106c17fea78f6fa4160f4 | 520b7ee4b967adab4aeb39f5a948889b13f5518d | /man/levelfun.Rd | ca6056cbb5793fc44807ae95cc716eff99d5628c | [] | no_license | jknowles/merTools | d0e178a03b4da0af8ce133cf0c3b45d50741b8b6 | 178248e8ebf5eacb44c8a7e75951c65071678449 | refs/heads/master | 2023-04-07T11:31:45.834722 | 2023-03-20T16:44:14 | 2023-03-20T16:44:14 | 34,033,193 | 111 | 25 | null | 2023-03-16T20:52:29 | 2015-04-16T03:53:06 | R | UTF-8 | R | false | true | 270 | rd | levelfun.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{levelfun}
\alias{levelfun}
\title{Parse merMod levels}
\usage{
levelfun(x, nl.n, allow.new.levels = FALSE)
}
\description{
Parse merMod levels
}
\keyword{internal}
|
fe1cd5422303a759aa24cb39b47e78914292a1bb | 7cdc6e44005e8a8f8bc5ca3eaad97ada7839e006 | /man/func6.Rd | 0a420ad5c089e89810eb3ff6a0e11a1274ceb1c6 | [] | no_license | benjnguyen/NguyenTools | 6e549edf2c9ec4f63e11f1ca616b1532a7a2a426 | 474cefe873c7a110a429e96ba5e6a2403e26acab | refs/heads/master | 2021-01-25T13:47:56.989724 | 2018-03-02T22:52:06 | 2018-03-02T22:52:06 | 123,615,905 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 335 | rd | func6.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NguyenToolsRfunctions.R
\name{func6}
\alias{func6}
\title{Highlevel check function}
\usage{
func6(x)
}
\arguments{
\item{x}{object}
}
\value{
object
}
\description{
Checks and throws error if not numeric, finit, zero lenth, NA, NAN
}
\example... |
744022589fc6aa8a11df50abb58c7365ad5ad30a | 8097bd6207ce3ed587b16b0ea7bb4d3e13394a1f | /Tidy R Run Analysis Script.R | 2467b49292a5f53dd5eab08fdd0cc1212ad22bd6 | [] | no_license | rkvidyar/Human-Activity-Recognition-Using-Smartphones-Dataset---Tidy-Data-Project | 310ad1484db8508aad30127c4d42d521111c476b | ea42edad5683df131581eebb302deb547ae715c8 | refs/heads/main | 2023-08-31T15:40:10.476431 | 2021-10-04T21:32:09 | 2021-10-04T21:32:09 | 413,550,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,107 | r | Tidy R Run Analysis Script.R | X_test <- read.table("X_test.txt", header=FALSE, fill=TRUE)
y_test <- read.table("y_test.txt", header=FALSE)
subject_test <- read.table("subject_test.txt", header=FALSE)
subject_train <- read.table("subject_train.txt", header=FALSE)
X_train <- read.table("X_train.txt", header=FALSE, fill=TRUE)
y_train <- read.tabl... |
334496dfc95dfb805507b2d215ea1e14cceb3768 | 51b8a66b8bc4a4bd63ddb0fda9f320136a2aba12 | /r/src/na_interp.r | 7cc84d885ed0dcd3026e3c164b1be38fb1ad2c95 | [] | no_license | uataq/stilt | 2fe80bfe323919ae9d8f8e02f78aaeea93719a95 | fc4daceee2f608650040688213fdb53554d37b62 | refs/heads/main | 2023-02-08T05:01:48.399607 | 2023-02-03T19:27:51 | 2023-02-03T19:27:51 | 62,921,306 | 41 | 18 | null | 2023-02-03T19:27:53 | 2016-07-08T22:37:37 | R | UTF-8 | R | false | false | 747 | r | na_interp.r | #' Linearly interpolate NA values
#'
#' \code{na_interp} linearly interpolates NA values found in vector y with
#' respect to index x (e.g. timestamp).
#'
#' @param y numeric vector in which to fill bracketed NA values
#' @param x vector giving index of y. NULL if y is equally spaced
#'
#' @importFrom stats approx
#'... |
c138d81d3c171cc7ce59f19b60756c649034b50a | bbe69e27263454120aa4ada60eaed9116fccb6da | /R/outsider.devtools.R | 7d2c3bcc6c1d3d65c3cd8ac84cc49d7738156eea | [] | no_license | ropensci-archive/outsider.devtools | 702812e099b9983f022f985ac607e5004c620489 | 787f92887435e7aedf4721170511ca4e790d2df2 | refs/heads/master | 2023-04-17T17:31:03.227335 | 2022-06-17T07:11:38 | 2022-06-17T07:11:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 407 | r | outsider.devtools.R | #' outsider.devtools: Build 'outsider' Modules
#'
#' Tools, resources and information for making it easier to build your own
#' outsider modules.
#'
#' For more information visit the outsider website
#' (\url{https://docs.ropensci.org/outsider.devtools/}).
#'
#' @docType package
#' @name outsider.devtools
#' @importFr... |
ad60e0b9b6be58e0f91f3bf542ae79115b9ebcf7 | 33d1e1eee68663bb91b6952555dd3ff2d11b4ff1 | /man/quickPlottables-class.Rd | 339dcebbc693be71ff4b902ea78953e7472f6906 | [] | no_license | PredictiveEcology/NetLogoR | 976d379e8e176158e3401e0960d4b0761ecb3947 | 9860ad160a41638702e1164842876e6e322472a3 | refs/heads/master | 2023-07-09T05:16:33.058552 | 2022-08-16T22:41:35 | 2022-08-16T22:41:35 | 53,686,905 | 34 | 7 | null | 2023-07-04T21:09:57 | 2016-03-11T18:07:02 | R | UTF-8 | R | false | true | 1,076 | rd | quickPlottables-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quickPlot.R
\name{.quickPlottables-class}
\alias{.quickPlottables-class}
\alias{quickPlottables}
\title{\code{quickPlot} classes}
\description{
\pkg{quickPlot} offers a type of plotting that is modular.
Users of NetLogoR may find this useful ... |
4c585cb8079e6496e6cc988f7e49b1b302c39e32 | c88b0cbeda0edf9e745e324ef942a504e27d4f87 | /NLSY-CogEpi/NLSY_cw/Revisions.R | 2d9a0668d67ffedb0eb9eee5a44f8ab224b4baee | [] | no_license | Diapadion/R | 5535b2373bcb5dd9a8bbc0b517f0f9fcda498f27 | 1485c43c0e565a947fdc058a1019a74bdd97f265 | refs/heads/master | 2023-05-12T04:21:15.761115 | 2023-04-27T16:26:35 | 2023-04-27T16:26:35 | 28,046,921 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,017 | r | Revisions.R | ### Revisions
library(survival)
library(eha)
library(ggplot2)
library(survminer)
### Missing sample descriptives
#summary(ht.df[!ccs,c('AFQT89','SAMPLE_SEX','Child_SES','Adult_SES','SES_Education_USE','SES_OccStatus_USE','SES_Income_USE')])
sum(ht.df[!ccs,]$SAMPLE_SEX=='MALE')
sum(ht.df[!ccs,]$SAMPLE_SEX=='FEMALE'... |
a1dc18a71bbf2988ec60c254a405a93ba2ec7b6b | f1fde487d0ad042920a0c7b8b77982a73b295834 | /code/workspace_scripts/ddm_measure_labels.R | 375cfb3536673601533264bf5f757932580180a9 | [] | no_license | zenkavi/SRO_DDM_Analyses | 5d52960f2c327bdd2e8aee34018aed69e4eb2d3c | 9b1ab73b22f8e67f7b47cc68ac43f2632b2c1de5 | refs/heads/master | 2021-04-09T11:04:34.767730 | 2019-08-08T18:24:35 | 2019-08-08T18:24:35 | 125,401,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 799 | r | ddm_measure_labels.R | if(!exists('from_gh')){
from_gh=TRUE
}
if(from_gh){
input_path = 'https://raw.githubusercontent.com/zenkavi/SRO_DDM_Analyses/master/input/'
}else{
input_path = '/Users/zeynepenkavi/Dropbox/PoldrackLab/SRO_DDM_Analyses/input/'
}
measure_labels <- read.csv(paste0(input_path, 'measure_labels.csv'))
measure_labels... |
66699832db663a111a509e193964a286ef0a1944 | 5875798a477588ce11efa1d044d0f1996c9cd366 | /reverse_sequences.R | a5dd5be6f612f8d4efe3f4bb17f71b89e033d26b | [] | no_license | kbodulic/eunapius_lncRNA | b98e1a93c616287fdf871cdd9a345fa9780cb132 | 5c155cfd2537c5349cd4bf74f66c89a66ed21fcc | refs/heads/master | 2023-01-03T01:54:58.292377 | 2020-10-14T08:29:20 | 2020-10-14T08:29:20 | 287,954,950 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 947 | r | reverse_sequences.R | args <- commandArgs(trailingOnly = TRUE)
library(Biostrings)
library(IRanges)
library(GenomicRanges)
library(BSgenome)
setwd(".")
#reversing the rev_comp hits
#Arguments: 1 - concatanated fasta files of transcripts with similarities
sequences_list<-list()
for(i in list.files()) {
sequences_list<-c(sequences_list,r... |
feecc4bed71ab831ea83deb7e68c0b69805e7382 | c42e4faa9a5a546fc8fbe7cc367383a14c2a7d8a | /part3/R 러닝/0613그래프 평균 줄 표시or 구글빕이용.R | 05e707b4649db60c48c089e174ce2c209986e9bb | [] | no_license | wisdom009/R | 4be82b65a9d1b79085cf40ced11173421f405548 | 202dce45c6faac6bd4563f96a40a09b09ae416ed | refs/heads/master | 2020-06-03T19:03:28.896231 | 2019-06-17T08:30:42 | 2019-06-17T08:30:42 | 189,162,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,572 | r | 0613그래프 평균 줄 표시or 구글빕이용.R | setwd('D:/workspace/R_date/Part2/Stage3_StructuredData')
count = read.csv("연도별요양기관별보험청구건수_2001_2013_세로.csv",
stringsAsFactors= F)
count
colname <- count$년도
colname
v1 <- count[,2]/100000
v2 <- count[,3]/100000
v3 <- count[,4]/100000
v4 <- count[,5]/100000
v5 <- count[,6]/100000
v6 <- count[,7]/100000
... |
347ff68cf2fb7a3aa56643b69e465f521113dc5c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rbmn/examples/rm8nd4adja.Rd.R | 9f16a9fe1c4dba11c566af13a9a68b99fea66ddd | [] | 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 | 206 | r | rm8nd4adja.Rd.R | library(rbmn)
### Name: rm8nd4adja
### Title: removes somes nodes from an adjacency matrix
### Aliases: rm8nd4adja
### Keywords: utilities PKEYWORDS
### ** Examples
rm8nd4adja(rbmn0adja.04, "1.1");
|
145cacf7cebf154b6608c6fc6b60b73c2abd9f67 | e5c43a31a082bbfec5ebbc20b34d373896721579 | /R/functions/archive/proc.vba.survey.R | 6177620dbc27ab06787d4a04703373ff364cb4dd | [] | no_license | geryan/rfst | 3dde3a499651f3a1ccc736f8c6597c5972f0e17c | 0aac1f0c3b17096af0c5b0b06e1ad80ac6d709ca | refs/heads/master | 2023-05-02T12:32:51.743467 | 2021-04-27T01:26:47 | 2021-04-27T01:26:47 | 164,573,310 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 950 | r | proc.vba.survey.R | proc.vba2 <- function(x, project.crs, vba.crs = 4283, cutoff.date = "2009-03-01"){
source(file = "R/functions/read.vba.R")
library(dplyr)
z <- read.vba(x) %>%
dplyr::rename("date" = `Survey Start Date`,
"lon" = `Longitude GDA94`,
"lat" = `Latitude GDA94`,
... |
c2181162a4bc1a841c30b89fe5424c3392123ee9 | 7971223b5ed15e39718b262d739274ef7ffd0eaa | /man/hello.Rd | 751fdf3bb39fa24f752540a9470cd36394fe4ac5 | [] | no_license | uk-gov-mirror/ukgovdatascience.testpackage | 20c8edfc1c2319f1edaab07369b38c8036c564d3 | cf7f7ede8a3a7ee68a9cc1cf4c59c4846978ce6f | refs/heads/master | 2021-06-28T13:57:15.965212 | 2017-09-19T13:58:50 | 2017-09-19T13:58:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 349 | rd | hello.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hello.R
\name{hello}
\alias{hello}
\title{Print hello world}
\usage{
hello(x)
}
\arguments{
\item{x}{A character string to be concatencated in print statement}
}
\value{
Hello world
}
\description{
Prints hello world
}
\examples{
library(tes... |
b647fb093fa54395626bc02fd36d50a17ca9b14b | df71ad9bc4409e48d395a90ce0b3a72f47c049bd | /man/dds.Rd | aedc8d81d27263dfaecdb43bde27222be6c6ebf4 | [
"MIT"
] | permissive | YTLogos/bcbioRNASeq | 60e3ed07ce04bb6b924bb98a0d690067672f7861 | 6d6f01a063c668856ff6146e7e6e12c7b9e16a58 | refs/heads/master | 2021-08-07T21:30:20.243822 | 2017-11-08T15:51:21 | 2017-11-08T15:51:21 | 110,054,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 350 | rd | dds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{dds}
\alias{dds}
\title{Example \link{DESeqDataSet}}
\format{An object of class \code{DESeqDataSet} with 505 rows and 4 columns.}
\usage{
dds
}
\description{
Derived from \code{bcb}, the example \link{bcbioRNAS... |
6485469ade4678778533d0de32e6f0881bbfd8d3 | 4d102b41cf2bb8283a0cd7f61e9c7ec064486aa1 | /test_meth_elle.R | 6348de4021be21ca74dcb6a086c5d77809317210 | [] | no_license | AlexisAyme/estimateurs-robustes | f4077576caee84f9ae1d84c43da300d95230132d | 5b31fea1db70ac5ea98660f74fc4934f9da23987 | refs/heads/master | 2022-07-26T07:18:52.419914 | 2020-05-20T22:01:43 | 2020-05-20T22:01:43 | 265,636,473 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,618 | r | test_meth_elle.R | source("methode_ellipsoide.R")
source("spectralMethod.R")
source("contamination.R")
#X= oneParameterContamination(n=1000,s=100,p=3,mean1=cbind(c(1,1,1)),mean2=cbind(c(3,3,3)))
#X<- oneParameterContamination(n=10000,s=1000,p=32,mean1=cbind(rep(1,32)),mean2=cbind(rep(3,32)))
#print (diakonikolasInequality(X,100,0.05))
... |
e0a1e9c9d7c6022ba9382e35cd33df993e0987ef | b1909b0d26a4beffdace564ec48b532e8bb8b8bc | /week3/run_analysis.R | cc7f54aa69350f2a07e767220dd367b8bef24985 | [] | no_license | Gcabrera1/datasciencecoursera | 53bc4850c6606be77c8005225354062ec66fd0fb | c1c116dc5300a5d27256f52a0a80765eb6a20e7c | refs/heads/master | 2020-06-04T14:35:49.763956 | 2015-10-25T21:26:57 | 2015-10-25T21:26:57 | 40,682,798 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 373 | r | run_analysis.R | run_analysis <- function() {
dat <- read.table("./test/X_test.txt")
dat1 <- read.table("./train/X_train.txt")
labels <- read.table("features.txt")
dat3 <- rbind(dat, dat1)
names(dat3) <- labels[,"V2"]
filtro1 <- (labels[,"V2"] %like% "mean" | labels[,"V2"] %like% "std")
prefinal <- dat3[,fil... |
493b34960d5eea3f61569db2e1e5d3782950f868 | 71c4a42149298baa946614f0251efdeebe11501f | /cachematrix.R | 36f93eab7879bb70b2ba49477afe6c05a8d6cb9a | [] | no_license | u001624/ProgrammingAssignment2 | 7b4bb9fc6fbb1a4e2a329f27f949fc13326c921a | 835a1e9748a65fd2a5c3e315024d97654b67f9e7 | refs/heads/master | 2021-01-17T18:12:33.516183 | 2014-10-26T10:41:34 | 2014-10-26T10:41:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,792 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
# Function makeCacheMatrix creates a cached matrix and a list of functions
# Function cacheSolve find the inverse of the matrix, either if it has been cached
## Write a short comment describing this function
# Function makeCacheMatrix ... |
4c1e49305bf541f9b1f7cc90e0e1a385ae95f754 | 03f2c9c3e7d87c11400511a2994536efa8eba6de | /R/backup/backup June 29/avs_models_evaluation.R | 58c30cd722928b836642e44eb6deea2ace0deb29 | [] | no_license | lorenzol/kaggle_avs | 43dc9b16ad8be1a2726ecae7a5ebdddf8031247e | c61d2d43562dad2411bc22994f84b968f68e4ab5 | refs/heads/master | 2021-01-10T22:09:55.147687 | 2014-09-18T00:46:23 | 2014-09-18T00:46:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,299 | r | avs_models_evaluation.R | # Model Evaluation
################################################
#install.packages("e1071")
#library(e1071)
## Logistic regression model
glm.pred <- predict(glm.tune, test.batch)
confusionMatrix(glm.pred, test.batch$repeater)
## Decison Tree
ctree.pred <- predict(ctree.tune, test.batch)
confusionMatrix(ctree.pred,... |
3c3ff29f766220682ea15128539e1f8f65449184 | 66a7e127fdbbc1c454122f1bff5dfed3e8f18974 | /Cleaning lynching data.R | 91a8f2dfab5609c3390446eee4dbe532d00e5b39 | [] | no_license | ZIBOWANGKANGYU/POLVILINDIA | 657e5024ae46dc05260d7f1e87ed34fdb12c9bca | b12749f69e00efab180430e95b4b2b686ad067f2 | refs/heads/master | 2023-06-01T04:21:50.635960 | 2021-07-02T17:46:59 | 2021-07-02T17:46:59 | 181,230,385 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,198 | r | Cleaning lynching data.R | # Mark Wang, kaw129@ucsd.edu
# 11 April 2019
library(xlsx)
library(ggplot2)
library(sf)
library(dplyr)
library(tmap)
Sys.setlocale("LC_TIME", "English")
Sys.setenv(LANG = "en_US.UTF-8")
# cleaning and importing lynching data
lynchings_date<-read.xlsx(file = "lynchings.xlsx", sheetIndex = 2, encoding = "UTF-8"... |
cda14ac8e3ec4a9a15a4d1aa77531734dfbe7808 | c0c90d01f887bb2ee42608e2dae0eaecb4567757 | /man/mfcluster-class.Rd | 0fc58d9132d1b18c980b5836cf236bb718886c11 | [] | no_license | tmrealphd/MF | 386cdad3f9353712d8843685342d99ea548fa319 | 362f9f5b2b24e094af492ac5e9f755745d94631f | refs/heads/master | 2021-01-21T02:36:34.942956 | 2015-03-31T20:32:21 | 2015-03-31T20:32:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 957 | rd | mfcluster-class.Rd | \docType{class}
\name{mfcluster-class}
\alias{mfcluster-class}
\title{Class mfcluster}
\usage{
mfcluster$new(All, bycluster, excludedClusters, call, compare)
}
\description{
Class mfcluster is created from output of function MFClus
}
\section{Fields}{
\itemize{ \item{\code{All: }}{vector with elements:
\itemize{ \i... |
e553b8684099c869719439af6ac6fe20876b4967 | 12681d234a68bc85b8c99b9dd9dde1e7ac3cc89e | /Twitter API for brand sentiment/02a_Score_Tweets.R | 58a1a9e6d3110ae4fea951ab21d63d24641fab23 | [] | no_license | siddharthksuri/data_analysis | fced3c65f96a0791ab027e256001a642e5dc5597 | 96cc348166e5e15ff95eabebf14e72350f02bc4e | refs/heads/master | 2021-03-13T01:21:39.402088 | 2017-05-16T16:28:11 | 2017-05-16T16:28:11 | 91,475,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,588 | r | 02a_Score_Tweets.R | setwd("D:/G Drive/04 Career/Interview Prep/THINX/Twitter")
thinx= read.csv("thinxtweets.csv")
lulu= read.csv("lulutweets.csv")
#readymade dictionaries for scoring
hlpos=scan("D:/G Drive/04 Career/Interview Prep/THINX/Twitter/dict/positive-words.txt"
, what='character', comment.char=';')
hlneg=scan("D:/G ... |
6ac7398df68066f85d9cd2f7a31f34bcf53d68f5 | 120de1ae49850f8212efc39ab9fa266f175dc4c6 | /man/bbk.fanChart.Rd | 4f48312d79dbcb90bb80c0f169845f2b23074c43 | [] | no_license | vsrimurthy/EPFR | 168aed47aa2c48c98be82e3d8c833d89e1d11e04 | 544471a8d0cf75c7d65a195b9f6e95d6b1d6800f | refs/heads/master | 2023-08-02T14:50:25.754990 | 2023-07-29T13:56:39 | 2023-07-29T13:56:39 | 118,918,801 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 664 | rd | bbk.fanChart.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/EPFR.r
\name{bbk.fanChart}
\alias{bbk.fanChart}
\title{bbk.fanChart}
\usage{
bbk.fanChart(x)
}
\arguments{
\item{x}{= "rets" part of the output of function bbk}
}
\description{
quintile fan charts
}
\seealso{
Other bbk: \code{\link{bbk.bin.re... |
1c535ee283a8c4a62bcfb8a2279344f044e8d14b | 4fc1ae226c2f0722f998d4eccdedd75e79d8e04c | /5_DNB Screening/PPI网络/top50/new/minus.R | 92182e3dc8a89728eeb7eacb507c84ba336e15b5 | [] | no_license | TwinkleKim/Reproducible-DNB-downstream-analysis | 7f2726ca40108f2bc089bfbb01eac7f3c0b7b8ab | 83f1d0bd52bf8b79a970b63fce3cb19653b623d1 | refs/heads/main | 2023-04-25T21:40:58.913936 | 2021-05-19T11:58:52 | 2021-05-19T11:58:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | minus.R | node<-read.csv("nodedis.csv",header = T,row.names = 1)
View(node)
node<-scale(node,center = T,scale = T)
write.csv(node,"nodeminus.csv")
|
0deaa6a557bafe765553466f452d8f68eb32bd45 | 04ae878f467098c69dc72d6b4811e76a77ef0532 | /Data Wrangling and Visualization Based on County-level Oil and Gas Data/Data Wrangling and Visualization code/Oil and Gas withdraws each year in terms of state.R | bc658d8eac4e7dcedc8abbae1500270a8391216b | [] | no_license | ZihuanQiao/Course-Projects | e81ec5cb008882b2ddac63ae0ef539386f23ac18 | e0808d5e2d8982c9f9ce317e43aab90e7d39a555 | refs/heads/master | 2021-01-11T22:22:54.680146 | 2017-01-15T23:19:37 | 2017-01-15T23:19:37 | 78,954,690 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | Oil and Gas withdraws each year in terms of state.R | #Oil and Gas withdraws each year in terms of State
library(ggplot2)
library(dplyr)
#read tidy data
dfnew <- read.table("oilTidyData.txt")
dfnew <- data.frame(dfnew)
#select top 10000 oil/ gas withdraw county data
dfnew.oil <- arrange(dfnew, desc(oilwithdraw))
dfnew.oil <- dfnew.oil[1:10000,]
dfnew.gas <- arrange(d... |
590694aecb4ceaad2bfa6dbbbc30dada9d5713a1 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /atakrig/man/extractPointVgm.Rd | 35fc6d6ec79c3c3af7d59d764f749241b6413e67 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 338 | rd | extractPointVgm.Rd | \name{extractPointVgm}
\alias{extractPointVgm}
\title{
Extract point-scale variogram from deconvoluted ataKrigVgm.
}
\description{
Extract point-scale variogram from deconvoluted ataKrigVgm.
}
\usage{
extractPointVgm(g)
}
\arguments{
\item{g}{
deconvoluted ataKrigVgm object.
}
}
\value{
a list of gst... |
492403fb41b3f40c4dd528925173275b01b824d4 | eb8b0d82328715285dff79922d093cb31583d93f | /Coursework/05 - Statistical Programming 2.R | 1a327d76dc1fd9062ff2ffa718bbd00c1ea98d1e | [] | no_license | kevinmaske/Sample-R-Codes | 94f6c561958e1f7526fb1d64a46657d4b03a72ef | 5cbfb573346e6ef480e4302f4f2947a2b9450b76 | refs/heads/master | 2020-04-17T07:46:52.879449 | 2019-01-18T10:28:00 | 2019-01-18T10:28:00 | 166,383,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,505 | r | 05 - Statistical Programming 2.R | ##
##
## -------------------------------------------
## LOAD PACKAGES
## -------------------------------------------
##
##
## Load any R package required for your code
## to successfully run!
library(tidyverse)
## ;;
setwd("")
## -------------------------------------------
## READING DATA
## ----------------------... |
f3962b54f96f55a331187ebdef3f034c483d0212 | a94154fe2b706fd76955a3f4073809507495036c | /man/readLPIdata.KAIRA.Rd | 39e15cdf2b41e132dd785b6c00ba126e5a43db62 | [
"BSD-2-Clause"
] | permissive | ilkkavir/LPI.KAIRA | f755c58ede14d8339ea30b7981e828c8447e6be4 | 2d7f1141bf2790272706b1a490b0116908df319e | refs/heads/master | 2020-07-14T18:42:25.025605 | 2019-08-30T12:21:46 | 2019-08-30T12:21:46 | 205,376,454 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,666 | rd | readLPIdata.KAIRA.Rd | \name{readLPIdata.KAIRA}
\title{readLPIdata.KAIRA}
\alias{readLPIdata.KAIRA}
\description{Read one integration period of voltage level
data. Transmitter samples are recorded with USRP at Tromso and
receiver samples with KLP at Kilpisjarvi.}
\usage{readLPIdata.KAIRA( LPIparam , intPeriod )}
\arguments{
\item{ LPI... |
0ff16232bd0169705515a67b38b0c269d275f424 | d64f92b2d2a3522442b68cef07af758c6db5ea3d | /App-positivity/inst/main.R | f45a6ef11db87c215a95a63a78a3cf2bbe84a734 | [] | no_license | tranlm/positivity | f75c24b1f4c48bbfdbc87969e858ebb75e2644dd | c8346fee56c999d9fa1cb2a26b641f362453af17 | refs/heads/master | 2021-01-15T23:50:10.850559 | 2015-03-12T18:42:34 | 2015-03-12T18:42:34 | 32,095,685 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,158 | r | main.R | ###############################################################################
# Description: Master file that calls in all other functions
#
# Author: Linh Tran <tranlm@berkeley.edu>
# Title: Handling positivity violations in longitudinal data
# Date: 2015-01-08
#####################################################... |
2e0ed1a5e763d8e08b291d2bc6283cf1f8af814a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rgb/examples/Annotation.Rd.R | 3217ba588934ad6672a8f4caa5a2e47740a13947 | [] | 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 | 372 | r | Annotation.Rd.R | library(Rgb)
### Name: Annotation
### Title: Annotation track constructors
### Aliases: Annotation track.table.GTF track.exons.CCDS track.CNV.DGV
### track.genes.NCBI track.bands.UCSC
### ** Examples
# From the "How-to" vignette, section "Custom annotation tracks"
file <- system.file("extdata/Cosmic_ATM.gtf.g... |
fbe0bdab29444174b8c82bcdd5c3577288fd4b4e | f0aa4e9dd55a5511a76c0fdd9a92c2012daa455c | /man/fine_map.Rd | f3e2cae5c30e9b8341858ddf8675b07b068f6342 | [] | no_license | william-denault/mWaveQTL | 068760edc2df3e5a97a71533f8826bb73e9eee3f | 6871517d1d602f35f558f4aeb68866c40a6d1be5 | refs/heads/master | 2022-12-12T13:45:20.373190 | 2020-09-07T06:34:38 | 2020-09-07T06:34:38 | 293,328,869 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 897 | rd | fine_map.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{fine_map}
\alias{fine_map}
\title{Defintion of the regions with Bayes factor over a threshold.}
\usage{
fine_map(res, lev_res, thresh, start, end, chr)
}
\arguments{
\item{res}{Output of mWaveQTL.}
\item{lev_res}{the maximum le... |
01ebf2188018257953785eccc41154cc907b0b7f | 846559394848a21cf4859096455b2e2b31c8c77e | /R/NSSTDJD.R | 1e2a5b3f696e01c12746c7f8b27f48ac92e6c84c | [] | no_license | ivotebexreni/JADE | e8d2c2087b35a7236a607e04317904da96ab97d3 | c9efee1d940dc49d30739f88ce6855caa4f00284 | refs/heads/master | 2023-03-18T20:39:48.617218 | 2020-03-25T10:30:02 | 2020-03-25T10:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,466 | r | NSSTDJD.R | # Method NSS.JD
NSS.TD.JD <- function(X,...) UseMethod("NSS.TD.JD")
# main function for NSS.TD.JD
#
# input:
# x = data matrix
# K = number of intervals, default 12, obsolete when n.cuts is provided.
# Tau = lags used to compute the autocovariance matrices for each interval, default = 0:11
# n.cuts = C... |
7279f162f7f36037aa86df3b17a25608669176f1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/descomponer/examples/gdf.Rd.R | a34c047f5515f108cf5b241cbaf1904d40bbac37 | [] | 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 | 190 | r | gdf.Rd.R | library(descomponer)
### Name: gdf
### Title: Get Frequency Data
### Aliases: gdf
### Keywords: smooth
### ** Examples
n<-100;x<-seq(0,24*pi,length=n);y<-sin(x)+rnorm(n,sd=.3)
gdf(y)
|
ca928f3ab02733636a9818e120df7d7d247b79dc | 345fe8e9b2fa22dbd8d37bacb245f9f14c77c5e4 | /fisherX2.R | 766598bec196373839dcdb051aca9ce5e434d645 | [] | no_license | jamesbrownlow/LoadNORCdata | 3563d22a846f166a87f989954fa279d8033d3df2 | 23380985474f2483e135c36a3bf711f60615473d | refs/heads/master | 2023-07-28T23:44:04.839453 | 2021-09-21T14:48:29 | 2021-09-21T14:48:29 | 408,231,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 573 | r | fisherX2.R | fisher.two = function(x, y){
# x and y are factor variables
levelsY = levels(y)
n= length(levelsY)
for (i in 1:(n-1))
for (j in (i+1):n) {
print(c(levelsY[i],levelsY[j]))
tempDF=data.frame(x,y)
tempDFfiltered = filter(tempDF, y %in% c(levelsY[i],levelsY[j]))
droplevels(tempDFf... |
d4d3e9636b66d220f2780041ae524333f9ad85e7 | dca51772513b329d11702834f9e08c825f86596b | /man/bin_search_.Rd | db5104e15a074343a27470f3467fab5a2747c8a9 | [] | no_license | ebenmichael/ents | cc168a3a5d1378d9160a62055a1f16ea359e13e2 | 75fd372d766d91a92eb5fbcf9dff6802c9c89f18 | refs/heads/master | 2021-04-25T04:16:30.181641 | 2018-11-05T22:47:18 | 2018-11-05T22:47:18 | 115,158,450 | 3 | 1 | null | 2018-04-05T17:45:59 | 2017-12-22T23:56:41 | R | UTF-8 | R | false | true | 492 | rd | bin_search_.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/selection.R
\name{bin_search_}
\alias{bin_search_}
\title{Perform binary search for the smallest balance which is feasible}
\usage{
bin_search_(eps, feasfunc)
}
\arguments{
\item{eps}{Sorted list of balance tolerances to try}
\item{feasfunc}... |
d4b7a461931da04d2f90617d689253f8b77a7e3e | cde2e7c77f5427d3cdb106271c20b6c312c271ac | /plot4.R | 8f025f59aa42bfe73e3204183d1e3b8de13c5228 | [] | no_license | MVB1/ExData_Plotting1 | 75143fe10dffdfa11cbbcaa0e463aab256a429d0 | e7c38b394979397cfd3d2fb21acb48c282afe447 | refs/heads/master | 2021-01-18T01:28:07.703690 | 2015-01-11T16:01:59 | 2015-01-11T16:01:59 | 29,068,058 | 0 | 0 | null | 2015-01-10T19:22:42 | 2015-01-10T19:22:41 | null | UTF-8 | R | false | false | 4,050 | r | plot4.R | # Exploratory Data Analysis
# Week 1, Assignment 1
# Plot 4, MVB
## Start
message("This script will generate Plot 4")
DateStarted <- date()
DateStarted
getwd()
## Functions for download and decompression
Download <- function () {
message("Downloading zip file")
fileUrl <- "http://d396qusza40orc.cloudfront.net/exd... |
6d789111431659243d147704a15fdc72046d4955 | 80ee145d21975068bd722749697382db78575471 | /man/distmap.Rd | dc7ed03265dd26feb19d9d7717ab993fc4badfa6 | [] | no_license | jukent/climod | 9d5f28afd4b7b083792e6bf872c375c5f8d5d2b8 | 203d57875c38a57e8e3b8ad01ce9d692506d3e44 | refs/heads/master | 2021-11-23T20:55:40.727516 | 2021-11-16T19:24:23 | 2021-11-16T19:24:23 | 193,576,176 | 0 | 0 | null | 2021-11-16T22:15:20 | 2019-06-24T20:35:09 | R | UTF-8 | R | false | true | 3,577 | rd | distmap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distmap.R
\name{distmap}
\alias{distmap}
\title{Construct a mapping between the distributions of two sets of
values.}
\usage{
distmap(x, y, densfun = KernSmooth::bkde, pgrid = ppoints(1000),
truncate = FALSE, trim = NULL, na.rm = TRUE, ...)... |
8eb48395d6a306d3acfb67df794cf171e6a3f155 | aa8c7a36275e11ceb5294d678c83a05655b0fb41 | /R/functions/fe_fe_icar_spaciotemporal_functions.R | 74129d9651ee09c05d81bc6ac0800664c6351051 | [] | no_license | enoch26/Mmodels_SERRA_article | ebaec2234db69e3e2f29b6542d67acaf4e978e45 | 41f7e06468c5279399cb9ad516ec930be3f77cf1 | refs/heads/master | 2023-03-01T17:10:02.858492 | 2021-02-11T10:33:39 | 2021-02-11T10:33:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,012 | r | fe_fe_icar_spaciotemporal_functions.R | ##################################################################################################
## Spatial: FE (icar); Temporal: FE (rw1); Spatio-temporal: ad
## FE.FE.ad.icar
##################################################################################################
FE.FE.ad.icar <- function(){
for (j in 1... |
446c3ca054b3d67d8159ea2cefda2584ba23e912 | 1e00b53399a80d931239d90c1ac5e9d9d549b1ee | /tambomap_app.R | 606d748dc6aad11f424e822198957f4fca4b5ee1 | [] | no_license | luiscartor/tambomaps-shinyapp | 5094fdbf8a7be2155bab34b6dc1fe0689c4388ed | c7bb0af11831bb5250c52c370d74f096b5878f75 | refs/heads/master | 2023-07-28T00:31:47.559938 | 2021-08-27T08:46:16 | 2021-08-27T08:46:16 | 352,005,547 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,876 | r | tambomap_app.R | # tambomap_app.R
# by Luis Carrasco
# on March 2021
# tambomap_app.R includes the Shiny IU and SERVER to run the tambomaps shiny application
##############################################################################################################
# Load packages
if(!require(shiny)) install.packages("shiny", repos... |
16e1b7c216ee4e642f785a2fc7a195bba841f3ae | 0cc576d0a0690fc458db4dd97fdf48b004d45604 | /R/test.R | 3ab92875730f853117ff1c29da643c6f327e145c | [] | no_license | mayu-y/statistical_analysis | 83a33e5c964877b5d8d5f5828cfa4575ace8bb72 | af55b1a759fac45f54be39d06fe33923faf05830 | refs/heads/master | 2021-03-03T07:42:44.280269 | 2020-03-10T02:27:51 | 2020-03-10T02:27:51 | 245,943,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 259 | r | test.R | ###wilcox.test
#2標本検定
wilcox.test(x=da[,2], y=db[,2], var.equal=F)
wilcox.test(x=dc[,2], y=dd[,2], var.equal=F)
wilcox.test(x=de[,2], y=df[,2], var.equal=F)
wilcox.test(x=da[,2], y=dc[,2], var.equal=F)
wilcox.test(x=da[,2], y=de[,2], var.equal=F)
|
e481abc89ded1a4205a91431f405d941ee0a9be6 | 625ababd193e2c3ff77081ab0a3640aca26fa7bf | /HighThroughputData/ExploratoryDataAnalysis.R | ee14a2c230408e1c5bbc02fc16a04295e233ad9b | [] | no_license | AndrewS622/Data-Analysis-for-the-Life-Sciences | 2121db45368efb0e51c31b3688f20ed556c22518 | 7aec64fca87c22b07b86a9002358617c55973917 | refs/heads/master | 2022-12-05T18:10:42.885403 | 2020-09-02T00:24:47 | 2020-09-02T00:24:47 | 282,118,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 827 | r | ExploratoryDataAnalysis.R | library(SpikeInSubset)
data(mas133)
e <- exprs(mas133)
plot(e[,1],e[,2],main=paste0("corr=",signif(cor(e[,1],e[,2]),3)),cex=0.5)
k <- 3000
b <- 1000 #a buffer
# correlation between first two samples
polygon(c(-b,k,k,-b),c(-b,-b,k,k),col="red",density=0,border="red")
# points in red box
sum(e[,1] < k & e[,2... |
07be121d481d7a030ddccd361f10eb233fd9a524 | 5c6e8f322dc82416fd43e03fea5ddb5342d3a5b7 | /R/operations.R | 73c3f0121a58136cf6844b94d9e4517088277ea2 | [] | no_license | ArnaudDroitLab/GenomicOperations | a847efea620adad0690f820572efe48062ee05e5 | 0d7ce960f5c18545d9e170fd605f0a22deba6342 | refs/heads/master | 2020-06-05T21:26:53.338085 | 2019-10-18T20:02:28 | 2019-10-18T20:02:28 | 192,550,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,598 | r | operations.R | #' Projects the ranges in query into the ranges in target.
#'
#' Returns the ranges in target overlapping the ranges in query, adjusting
#' their boundaries so that only the overlapping parts of the target ranges
#' are returned.
#'
#' @param query The ranges to be projected.
#' @param target The ranges to be projecte... |
311e012e693c68e5020efe82dea911eec6d46e9b | 691fd24cebd159deeb0885d0191f0fc58809a46a | /R/fig1.R | 90d070bcf9de740d15ae3ac90701f388d2322bae | [
"CC-BY-4.0",
"CC-BY-3.0"
] | permissive | Shicheng-Guo/Paper_Rqtl2 | 21a97776315f1dbf550306bdd50a8e6a52e3d816 | a723c1d49ba9c9dec606f4d1cd5884a49f63c95b | refs/heads/master | 2023-07-13T23:29:30.884010 | 2021-08-28T12:30:43 | 2021-08-28T12:30:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,710 | r | fig1.R | # figure 1: reproduce Fig 5 from Gatti et al (2014)
#
# "We regressed log neutrophil counts on founder allele dosages at
# each marker using a kinship correction with sex and log white blood cell counts as covariates"
# load the data; 2nd phenotype is "NEUT"
library(qtl2)
set.seed(33003221)
file <- "cache/do.rds"
dir ... |
f5b9bdab4ecba2b936008fcd08d9882e5f75a7da | f04e7ca50355951461fcb28bb87b27314cc9e253 | /run_analysis.R | 8b7ebb2fe3ed3a3fcfddaacded2871191c3209a4 | [] | no_license | srisraman/Getting-and-Cleaning-Data-Project | efc75241965197d3aae7497e156dac7e85fdd860 | 26b8c0a108da658e747719c772075d61c641097f | refs/heads/master | 2020-05-19T09:42:28.860643 | 2015-01-25T23:36:34 | 2015-01-25T23:36:34 | 29,833,923 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,064 | r | run_analysis.R | # Get the data
unzip("getdata_projectfiles_UCI HAR Dataset.zip")
subjectTest<-read.table("~/Coursera/Data Cleaning/UCI HAR Dataset/test/subject_test.txt",sep="", header=FALSE, col.names="subjectId")
subjectTrain<-read.table("~/Coursera/Data Cleaning/UCI HAR Dataset/train/subject_train.txt",sep="", header=FALSE, col.na... |
2e98749d2ec82e27d146960ce6718466472ed662 | 6baccd95ac85151fc4654223f771f986a843ef47 | /Fig3A_plotModuleEnrichment.r | 480a949a216b62812681623b4114c68d90541098 | [] | no_license | Bucanlab/Ji_PNAS_2016 | 6c218b6185e61edb2ec02ed709dd149bed85af88 | af49701f68610334197cac2e501bc598e8a52f83 | refs/heads/master | 2021-05-03T19:25:05.602351 | 2016-10-26T20:24:28 | 2016-10-26T20:24:28 | 69,603,620 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,934 | r | Fig3A_plotModuleEnrichment.r | library(ggplot2)
library(plyr)
setwd("...")
dat=read.table("enrichmentPerModule_EGcell_NEG_v2_TADA0.5_updated.txt",header=T,sep='\t')
dat_EG=dat[,c(1,2,3,4,5)]
dat_EG=data.frame(dat_EG,rep(NA,dim(dat_EG)[1]))
names(dat_EG)=c("Module","EG_all","NLG_all","OR","P","Category")
dat_EG$Category[which(dat_EG$OR<1)]... |
27e7756b4c3368edbfdf544f6093862d6b4c4aa8 | 1da9ba1ee08b899af8b107d3d81281d559e2200c | /CA5A_10363676/calculator.R | 6e17cdcbf7e23ce7ab1ec2f854bfc6db3906da6c | [] | no_license | mapster21/CF_DB | bc3c701db59b0f00ec4864297f2cbb8e94080cfc | 2c7923df943b43147555a3035727544fa48597ef | refs/heads/master | 2021-05-15T12:29:09.342656 | 2017-12-13T10:56:23 | 2017-12-13T10:56:23 | 108,444,616 | 0 | 0 | null | 2017-12-09T22:04:26 | 2017-10-26T17:35:37 | Python | UTF-8 | R | false | false | 1,956 | r | calculator.R | # Scientific calculator using functions written in R.
# Select steps between the dashed lines and run in sequence:
# Step 1---------------------------------------------------------------------------------------------------
add <- function(x, y) {
return(x + y)
}
subtract <- function(x, y) {
return(x - ... |
45630548b2778b51e05c3e653d252fd441986704 | 93b800fb677d6c7685a2934be4a44079de170990 | /man/pvw.Rd | 7ace16f1421d1ffd172ea170848b7a7c599d6631 | [
"MIT"
] | permissive | mkearney/lop | fa47144543f9952745c31c8aa0cd7b28ad7ee6e4 | d0a0d468454881462753f81793aa1a23dbc53c1b | refs/heads/master | 2022-04-11T01:49:57.379555 | 2020-04-06T22:02:34 | 2020-04-06T22:02:34 | 202,009,106 | 4 | 0 | null | null | null | null | UTF-8 | R | false | true | 431 | rd | pvw.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-funs.R
\name{pvw}
\alias{pvw}
\title{pvw}
\usage{
pvw(
data,
id_cols = NULL,
names_from = name,
names_prefix = "",
names_sep = "_",
names_repair = "check_unique",
values_from = value,
values_fill = NULL,
values_fn = NU... |
ea5f423eff9749038d901e3cff315ca19345e561 | 70b5810e0a9e8193baf3dc83f183c07cdc67cd5f | /Mineria_datos_aspectos_avanzados/trabajo_clasificacion_ordinal/esl-j48ordinal.R | 428a83da13de8de29decdde0268c4ab554b629a7 | [] | no_license | Nico-Cubero/master-datcom-2019-2020 | 11924c895ff52f91cbdb254d932ee6cecc20800d | e956799382b147aff385d62749bf915116893449 | refs/heads/main | 2023-06-08T09:17:40.930193 | 2021-06-13T11:54:11 | 2021-06-13T11:54:11 | 376,529,939 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,541 | r | esl-j48ordinal.R | library(RWeka)
library(partykit)
library(abind)
library(ggplot2)
set.seed(2)
# Cargar dataset esl
esl <- read.arff('esl.arff')
ordinal.label.encoder <- function(X, class.col, labels.ordered=NULL) {
# Check parameters input
if (!(is.data.frame(X)) || is.null(colnames(X))) {
stop('X must be a dataframe with... |
dfa6d6f926a5e4805031cbd1d1f46991dcceeb1a | 93203fbd153d7eafa1cffbdff9973a5f90a52f5e | /man/lad.Rd | f93915cb06d021be896ef8b07915de401bdbbb3a | [] | no_license | twolodzko/L1pack | c6ca048e665de16daa1eeb18da99c83d5f9c0d01 | 7c932d62f80060fbd632ff3e3ddeddb24fa5c372 | refs/heads/master | 2021-01-16T18:34:54.922778 | 2017-02-20T03:16:44 | 2017-02-20T03:16:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,122 | rd | lad.Rd | \name{lad}
\alias{lad}
\title{Least absolute deviations regression}
\description{
This function is used to fit linear models considering Laplace errors.
}
\usage{
lad(formula, data, method = c("BR", "EM"), subset, na.action,
control, model = TRUE, x = FALSE, y = FALSE, contrasts = NULL)
}
\arguments{
\item{formul... |
619f8feca1aae9d91e2e262f0fc5a7bf32c59b07 | 7b74f00cd80694634e6925067aaeb6572b09aef8 | /2020/Assignment-2020/Selected/Met-FE8828-Fan Wenqing/Assignment 4/assignment4-2.R | fc5f36c5106160a896751814766a561ab79b5ff3 | [] | no_license | leafyoung/fe8828 | 64c3c52f1587a8e55ef404e8cedacbb28dd10f3f | ccd569c1caed8baae8680731d4ff89699405b0f9 | refs/heads/master | 2023-01-13T00:08:13.213027 | 2020-11-08T14:08:10 | 2020-11-08T14:08:10 | 107,782,106 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,675 | r | assignment4-2.R | library(shiny)
library(tidyverse)
ui <- fluidPage(
numericInput("r1", "Infection Rate", 0.05),
numericInput("r2", "Specificity and Sensitivity", 0.95),
plotOutput("p1"),
h4("The percentage of an individual who tests negative is actually negative is:"),
textOutput("t1")
)
server <- function(input, ... |
76cf8f917ab69af2a922a51d70f86e843bc197a0 | 0ea92a0e1eace26312972c5d2be22ae49b59c99c | /R/wsp/wsp2020/l90_and_l30_year_comparison.R | 8691e7cb0072c53ed6debb9661c87b812413afbb | [] | no_license | HARPgroup/vahydro | 852425ccf9271ebe2ff95fb6b48d8b7eb23e473f | 73ea02207eee96f574f24db95fad6a2f6a496e69 | refs/heads/master | 2023-09-04T00:11:29.732366 | 2023-09-01T18:13:46 | 2023-09-01T18:13:46 | 147,414,383 | 0 | 0 | null | 2023-09-08T13:52:26 | 2018-09-04T20:37:13 | R | UTF-8 | R | false | false | 3,271 | r | l90_and_l30_year_comparison.R | # Upper and Middle Potomac cia table for model debugging
# where is the extra water comingfrom in 2040 baseline flows?
library("sqldf")
library("stringr") #for str_remove()
# Load Libraries
basepath='/var/www/R';
site <- "http://deq2.bse.vt.edu/d.dh" #Specify the site of interest, either d.bet OR d.dh
source("/var... |
df6561ac59719679b51f49364f2dfe2c6803fa17 | eee92b835939722ba33fe8244d3953cd7625f40d | /api_server.R | 2835a8f4f3caf5db74be397c50ec98dfe842c452 | [] | no_license | padamu1/R_api_server | 77695001044fd55d3e7413a22e3d758681aead1a | 4571c813aa8831cd1843440ad4af7e8d0eba02f4 | refs/heads/master | 2022-12-02T08:42:10.359212 | 2020-08-19T11:04:47 | 2020-08-19T11:04:47 | 288,114,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 61 | r | api_server.R | library(plumber)
r <- plumb("./api_test.R")
r$run(port=8000)
|
3ac040b92f06a3aa26144edb8d535b4b41bd2d7f | 8c6dcd32f211a7b4dc11fa416460a150ee1be985 | /tibbles.R | 11669a167af784e86f0c930393a035e4129ecea3 | [] | no_license | CSU-con-gen-bioinformatics-2020/unix-play-with-genomic-data-RGCheek | 39f565f54c2e8d64146f4b84681cc7813fef5811 | 448917e4a461464a593243f96c54b5625bc531be | refs/heads/master | 2020-12-22T17:29:55.324340 | 2020-01-31T04:00:02 | 2020-01-31T04:00:02 | 236,875,105 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 613 | r | tibbles.R | ##Playing with tibbles
#30 Jan 2020
library(tidyverse)
#Make sure to be int he directory setwd("C:/Users/Rebecca/Dropbox/Course Work/Spring 2020/ConGen/unix-play-with-genomic-data-RGCheek")
# comment tells it to ignore the comments from sam tools, which all starts with @
sammy <- read_tsv("sam/DPCh_plate1_A05_S5.... |
5758d3dfc4e140de413b9604e2efbac6c940827c | 420a484effad4d24619e2981c034186a3fcb9811 | /man/gse4335pheno.Rd | d7cc6d99327cef01ad099fd3237e2e4566683340 | [] | no_license | cran/survJamda.data | 224f9f0f177879188caee3ecb9da94a6767fb8ec | 1bc198461f0eddd69cfd67c4c759615f7eec73c5 | refs/heads/master | 2021-01-01T05:42:03.129385 | 2015-05-01T00:00:00 | 2015-05-01T00:00:00 | 17,725,745 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,713 | rd | gse4335pheno.Rd | \name{gse4335pheno}
\alias{gse4335pheno}
\docType{data}
\title{
Phenotype data of GSE4335.
}
\description{
Data such as patients' information, tumor characteristics, samples information related to GSE4335.
}
\usage{data(gse4335pheno)}
\format{
A data frame with 115 observations on the following 17 variables.
\des... |
3dd278f3086fbc041d332d409a3dae74af179a2c | b763aa436f5b1e4038ccdc035d7c1db2e8dc4121 | /FigS1_Grb2/2022_06_21_Grb2.R | 3e00551d6e080703e152b7f2779f33bc72d9bf2c | [] | no_license | toettchlab/Farahani2022 | a1194f652a40f275502074972a8efd0ded8fbceb | 4f33d26dabef0e394a1fa7cf8297f8dbf9808ad2 | refs/heads/main | 2023-05-31T22:18:19.536421 | 2022-07-25T17:54:45 | 2022-07-25T17:54:45 | 517,766,459 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,404 | r | 2022_06_21_Grb2.R | library(tidyverse)
library(grid)
library(gridExtra)
library(reshape2)
library(xlsx)
rm(list = ls())
##########################################################################
# enter parameters
frame_pre <- 10; # final frame before ligand addition
time_ligand <- 9; # ligand added after this time point
##############... |
3eb25116720a3a9e10471432ccc7e49352d11562 | 854f48870852808b76f821c4f607437b5a3818b9 | /uebungserie-10/uebung10-recherche.R | 21293f4ba256e4725a39842715cc4da89739ebc9 | [] | no_license | spip333/statistik-uebungen | 6462f959f69f349bb55187f7ac6219a12d02e0ba | 51a6965e8963392b7efc866b12b7f2097171d01a | refs/heads/master | 2020-04-10T16:28:08.346739 | 2019-01-22T16:12:46 | 2019-01-22T16:12:46 | 161,146,242 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,295 | r | uebung10-recherche.R | ###########################
# Recherche Uebung 10
###########################
?lm
head(mtcars)
y <- mtcars$wt
x <- mtcars$hp
plot(x, y)
# model wt as function der hp
wt.hp.model <- lm (wt~hp, data=mtcars)
wt.hp.model$coefficients
plot(wt.hp.model)
coeffs <- coefficients(wt.hp.model)
coeffs
est.wt <- coeffs[1]+... |
3501dac0ee1b3c8f11b288528566a5d8d627ace6 | 2e33a31aedf695ee5be6535aaee65ddc121a41f2 | /plot3.R | bd055cb80f949ffafa84a3b02da3afe93e649f96 | [] | no_license | rickosborne/ExData_Plotting1 | 883cdc36234bca80abed07ae3219c708f30671c7 | 77b299d428be0437f69488deff5b6aec10ab4830 | refs/heads/master | 2021-01-17T23:38:26.395575 | 2014-05-11T19:29:38 | 2014-05-11T19:29:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,068 | r | plot3.R | #!/opt/local/bin/Rscript
# Original code by Rick Osborne
library(chron)
library(data.table)
source("get_power_data.R")
OUT_FILE <- "plot3.png"
all_data <- fread(DATA_FILE, sep=";", na.strings="?")
relevant <- all_data[Date=="1/2/2007"|Date=="2/2/2007"]
all_data <- NULL
relevant[,DateTime:=chron(Date,Time, format=c(d... |
ac7e169220befcfa59c9bc153cac5e6d0458babe | d1cb58172c4e0ee75bb05269ed1eea00b27465f6 | /man/has_email_addresses.Rd | 2ca195cedbce439e20b68e4901c2ed9d26762e72 | [] | no_license | cran/detector | 3a996d7b8f2ed19a9d8228c55c73ffa3c7f5311e | 596561d22b479e09bc1ddfa01f45f8bacca0e583 | refs/heads/master | 2021-01-10T13:17:22.004948 | 2015-08-28T01:13:37 | 2015-08-28T01:13:37 | 48,078,917 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 577 | rd | has_email_addresses.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/email_addresses.R
\name{has_email_addresses}
\alias{has_email_addresses}
\title{Test if a character vector has any e-mail addresses.}
\usage{
has_email_addresses(.x)
}
\arguments{
\item{.x}{A character vector.}
}
\value{
A... |
71c9c66d494ed9a7568a060ffb3ffb8a08955acd | 804019e5175b5637b7cd16cd8ff5914671a8fe4e | /gmse_06beta_landplacement_test.R | 621b039f9758034ff4cbd2c2e98cfd1f92e19547 | [] | no_license | jejoenje/gmse_vary | dde8573adeff9d9c6736a7a834a0a8942c5fcc5d | 057a36896b3b77a0a3e56d1436abe7a45e38cc2d | refs/heads/master | 2022-11-28T11:31:54.294640 | 2020-08-03T10:12:42 | 2020-08-03T10:12:42 | 197,375,284 | 0 | 0 | null | 2019-12-10T21:08:45 | 2019-07-17T11:21:27 | HTML | UTF-8 | R | false | false | 1,972 | r | gmse_06beta_landplacement_test.R | library(GMSE)
### All of these only run with 100x100 default landscape dimensions
### 4 stakeholders, no public land:
test1 = gmse(time_max = 2, land_ownership = T, stakeholders = 8, plotting = FALSE, ownership_var = 0.9)
image(test1$land[[1]][,,3])
table(test1$land[[1]][,,3])/sum(table(test1$land[[1]][,,3]))
ov = s... |
b60b69cc6ef3759cdf840542849e5a95d331a267 | 4af8e8b359627ba501c5f19733c00f0aaf14671b | /R/item_upload_create.R | fb07a2a9fc47eba07e5434dc3573996eef0e58e0 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | arturochian/sbtools | 11ca06d6e5307879360d51d252ccee00f9c29d9b | b1dc9a96cb1c48c310a4427be6502dac26b005c3 | refs/heads/master | 2021-01-18T04:20:41.308832 | 2015-01-16T17:29:32 | 2015-01-16T17:29:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 740 | r | item_upload_create.R | #'
#'@title Upload file(s) and create a new item
#'
#'@param parent_id SB id of parent item for the newly created item
#'@param files A string vector of paths to files to be uploaded
#'@param session Session object from authenticate_sb
#'
#'
#'@import httr
#'
#'@export
item_upload_create = function(parent_id, files, se... |
f2a6ff15b9550dcb74dae255e4d266d878000441 | af57194cdf1b15cae89516f7f067f45afda81c96 | /R/sample.zi.r | 5513a545fe4badfc30a938f9bf5a9094b67d91ef | [] | no_license | cran/iZID | 1e635ce3945a4532376d1af77a2dd93a596154a5 | 9cfc679b0a69542a0b592006c55f90160f19751e | refs/heads/master | 2020-12-22T00:38:30.712072 | 2019-11-06T11:40:02 | 2019-11-06T11:40:02 | 236,616,660 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,800 | r | sample.zi.r | #'Generate random deviates for zero-inflated models
#' @export
#'
#' @rdname sample.h
sample.zi<-function(N,phi,distri='poisson',lambda=NA,r=NA,p=NA,alpha1=NA,alpha2=NA,n=NA) {
##check the validity of some inputs
distri=tolower(distri)[1] ##so that all letters are in lower case. only use the first value if... |
4e6435bdd1211628522b46c0e6d27467f16d745b | 6141757f22f5f1bd84f699cd805d070e369c050a | /man/plot_all.Rd | 9838251a10fdd87893bb3d06f244ee077ca732d4 | [] | no_license | cran/densitr | 78d57d4db0e9139d676ba879a77b2a473bfb9079 | bc87841123b340ffe1fbcc9662a7d5e5189174d7 | refs/heads/master | 2022-04-30T18:16:38.598254 | 2022-03-22T08:00:09 | 2022-03-22T08:00:09 | 253,826,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 613 | rd | plot_all.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plot_all}
\alias{plot_all}
\title{Plot a list of dp objects, one by one}
\usage{
plot_all(dp.list)
}
\arguments{
\item{dp.list}{A list of dp objects, see \code{dpload}}
}
\description{
Plot a list of dp objects, one by one. Pres... |
1ded28d466c5ec677e2dd883a2b740f65dc12675 | d87ab91651efa9c1b2e49c14948beeb74f364678 | /R/R code/hw3.3.R | 5de4d97a04e23bdd6c2f3ee3aed85ed8b166ab60 | [] | no_license | tonycao/CodeSnippets | 758fb96addc6965661329cef219d17347d16457b | 0e82b1496947c62b5ea8ef7ca654f1ce27323608 | refs/heads/master | 2020-12-24T15:50:13.397710 | 2016-03-17T16:17:26 | 2016-03-17T16:17:26 | 3,567,949 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 221 | r | hw3.3.R | #hw3.3
flag = 0
x0 = 0
esp = .00000001
while(flag == 0) {
x = x0 - (3*exp(x0) - 4*cos(x0))/(3*exp(x0) + 4*sin(x0))
tolerance = abs(x-x0)
if (tolerance <= esp) {
flag = 1
}
else {
x0 = x
}
}
print(x) |
54d4244c646b13316f0d8f47b2d903a0bc864616 | 04d77d4648dd89dfd85adf2215061feaef9de996 | /man/Summary-BASiCS_Chain-method.Rd | 4e322a6e6471867486f0359eef1228cc62218565 | [] | no_license | kevinrue/BASiCS | af6df97a84688bfd38a56e096462e8eabf386f3d | 1f5286d0a2108ebe6a415f00a2b2bcba68aa2d5f | refs/heads/master | 2021-01-09T06:01:37.076340 | 2017-02-09T13:27:34 | 2017-02-09T13:27:34 | 80,932,934 | 0 | 0 | null | 2017-02-04T16:45:00 | 2017-02-04T16:45:00 | null | UTF-8 | R | false | true | 1,086 | rd | Summary-BASiCS_Chain-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Methods.R
\docType{methods}
\name{Summary}
\alias{Summary}
\alias{Summary,BASiCS_Chain-method}
\title{'Summary' method for BASiCS_Chain objects}
\usage{
\S4method{Summary}{BASiCS_Chain}(x, prob = 0.95)
}
\arguments{
\item{x}{A \code{BASiCS_Ch... |
3b7c18fad290bda2e0b7dfa6e1cbbc6b30e8715e | 9d6675d5dcc05874e0bd1d0496908bfbb3165502 | /plot4.R | c01fe3a648488653787d83a335d9192873ab2bd5 | [] | no_license | PiyushDeshmukh/C4_project2_EDA | 0d6cb93f2785355244c3fc1e7bd33ff1766c58fd | 098acce45f602dd5b65df83092ed98fce19cb2a1 | refs/heads/master | 2021-01-11T15:18:45.240236 | 2017-01-29T03:41:01 | 2017-01-29T03:41:01 | 80,326,821 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 812 | r | plot4.R | library(ggplot2)
nei_file_name = "FNEI_data/summarySCC_PM25.rds"
scc_file_name = "FNEI_data/summarySCC_PM25.rds"
NEI <- readRDS(nei_file_name)
SCC <- readRDS(scc_file_name)
combustion <- grepl("comb", SCC$SCC.Level.One, ignore.case=TRUE)
coal <- grepl("coal", SCC$SCC.Level.Four, ignore.case=TRUE)
coal_combustion <- (... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.